feat: group by distributed split

This commit is contained in:
Xiaoyu Wang 2022-06-03 16:57:52 +08:00
parent 3fe2f16213
commit bc6326788a
1 changed files with 8 additions and 0 deletions

View File

@ -67,3 +67,11 @@ TEST_F(PlanGroupByTest, selectFunc) {
run("SELECT MAX(c1), c2 FROM t1 GROUP BY c3");
run("SELECT MAX(c1), t1.* FROM t1 GROUP BY c3");
}
TEST_F(PlanGroupByTest, stable) {
useDb("root", "test");
run("SELECT COUNT(*) FROM st1");
run("SELECT COUNT(*) FROM st1 GROUP BY c1");
}