Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] can add a feature that a sql run with defaut sort #44472

Open
2 of 3 tasks
Hanchers opened this issue Nov 22, 2024 · 0 comments
Open
2 of 3 tasks

[Enhancement] can add a feature that a sql run with defaut sort #44472

Hanchers opened this issue Nov 22, 2024 · 0 comments

Comments

@Hanchers
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Description

sql like this

SELECT * FROM (
select * from ods_test_table order by id
) x 
LIMIT 20, 10

when run this sql, the result is not sorted .
and my usage is a data preview for a sql editor

version : 2.1.0


能否在sql执行的时候增加一个默认排序的功能,导致结果是有序的。 现在在分页的时候必须指定排序字段。
但是作为框架的开发者,对于这种嵌套sql的排序时,是无法识别出用户sql的排序字段的。
能否系统级实现这种默认的排序效果。

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant