running-elephant/datart

SQL parse后排序异常

Swayingleaves opened this issue · 0 comments

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

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