From bc6326788a311110c3eedf610ef3c4cf310d670f Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Fri, 3 Jun 2022 16:57:52 +0800 Subject: [PATCH] feat: group by distributed split --- source/libs/planner/test/planGroupByTest.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/libs/planner/test/planGroupByTest.cpp b/source/libs/planner/test/planGroupByTest.cpp index cf51603470..201df2efde 100644 --- a/source/libs/planner/test/planGroupByTest.cpp +++ b/source/libs/planner/test/planGroupByTest.cpp @@ -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"); +}