datart icon indicating copy to clipboard operation
datart copied to clipboard

SQL parse后排序异常

Open Swayingleaves opened this issue 6 months ago • 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

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

Swayingleaves avatar Aug 01 '24 03:08 Swayingleaves