You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select count(*), DATE_FORMAT(DATE_ADD(FROM_UNIXTIME(create_time/1000) , INTERVAL(-WEEKDAY(FROM_UNIXTIME(create_time/1000))) DAY),"%Y-%m-%d") as week from issues where create_time is not null group by week
Bug 重现步骤(有截图更好)
添加MySQL数据源
添加SQL数据集
使用如下 SQL 语句 count(*) 不指定别名
select count(*), DATE_FORMAT(DATE_ADD(FROM_UNIXTIME(create_time/1000) , INTERVAL(-WEEKDAY(FROM_UNIXTIME(create_time/1000))) DAY),"%Y-%m-%d") as week from issues where create_time is not null group by week
如果为 count(*) 指定别名,则数据正常
select count(*) as count .............................
The text was updated successfully, but these errors were encountered:
DataEase 版本
v1.0.0
浏览器版本
Chrome 91.0.4472.114 on Windows
Bug 描述
在 SQL数据集中,使用如下 SQL 语句时,预览数据正常,保存确定后显示的数据不正常。
Bug 重现步骤(有截图更好)
如果为 count(*) 指定别名,则数据正常
The text was updated successfully, but these errors were encountered: