starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

使用 group by grouping sets()后发现数据跟 group by 对不上

Open awk333 opened this issue 1 year ago • 1 comments

【详述】使用 group by grouping sets()后发现数据跟 group by 对不上 【StarRocks版本】2.2.4 【集群规模】3fe(1 follower+2observer)+ 5be 查询表:6w多条数据 使用group by grouping sets((date_time, result_dis, result_dis_no))和 group by date_time, result_dis, result_dis_no 的结果对比图: image

awk333 avatar Sep 20 '22 08:09 awk333

可以帮忙提供一下query dump?还有确认一下数据中是否包含null?

Seaven avatar Sep 22 '22 06:09 Seaven

https://forum.starrocks.com/t/topic/3866/11 社区中也提了相关问题。应该是复现了。如果修复的话,是那些版本修复呢?

awk333 avatar Oct 19 '22 05:10 awk333

https://forum.starrocks.com/t/topic/3866/11 社区中也提了相关问题。应该是复现了。如果修复的话,是那些版本修复呢?

2.2,2.3最新版本都修复了

Seaven avatar Oct 20 '22 03:10 Seaven