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

SQL parse后排序异常 #2338

Open
Swayingleaves opened this issue Aug 1, 2024 · 0 comments
Open

SQL parse后排序异常 #2338

Swayingleaves opened this issue Aug 1, 2024 · 0 comments
Assignees

Comments

@Swayingleaves
Copy link

Datart Version
1.0.0.rc.3

Describe the bug
页面查询使用 select * from d1.t1 order by ts desc;不生效

查看代码后发现为SQL会转换为

SELECT * FROM (select * from d1.t1 order by ts desc) AS DATART_VTABLE ORDER BY NULL

这样会导致排序异常,在图表侧使用排序也是这个问题

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

2 participants