Skip to content

Commit

Permalink
[test](hll) fix unstable case without order by clause
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Apr 22, 2024
1 parent 3a4b7bb commit 52051b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ shanghai 2
shanxi 1

-- !table_select --
1
0

-- !const_select --
1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ suite("test_hll_functions") {

qt_table_select "select hll_union_agg(hll_from_base64(hll_to_base64(pv))) from test_hll_func;"
qt_table_select "select province, hll_union_agg(hll_from_base64(hll_to_base64(pv))) from test_hll_func group by province order by province;"
qt_table_select "select hll_cardinality(hll_from_base64(hll_to_base64(pv))) from test_hll_func limit 1;"
qt_table_select "select hll_cardinality(hll_from_base64(hll_to_base64(pv))) as res from test_hll_func order by res limit 1;"

qt_const_select "select hll_cardinality(hll_from_base64(hll_to_base64(hll_hash('abc'))));"
qt_const_select "select hll_cardinality(hll_from_base64(hll_to_base64(hll_hash(''))));"
Expand Down

0 comments on commit 52051b4

Please sign in to comment.