Skip to content

Commit

Permalink
fix druid IT
Browse files Browse the repository at this point in the history
  • Loading branch information
LantaoJin committed Feb 14, 2025
1 parent 35524f3 commit dc5a42b
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 @@ -755,7 +755,7 @@ private void checkGroupBySingleSortLimit(boolean approx) {
+ "order by 1";
sql(sql)
.limit(2)
.returnsUnordered("state_province=CA; A=3; S=74748; C=16347; C0=24441",
.returnsUnordered("state_province=CA; A=3.0583036700625996; S=74748; C=16347; C0=24441",
"state_province=OR; A=3; S=67659; C=21610; C0=21610")
.explainContains("PLAN=EnumerableInterpreter\n"
+ " BindableProject(state_province=[$0], A=[/(CASE(=($2, 0), null:BIGINT, $1), $2)], "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ private void checkGroupBySingleSortLimit(boolean approx) {
+ "order by 1";
sql(sql)
.limit(2)
.returnsUnordered("state_province=CA; A=3; S=74748; C=16347; C0=24441",
.returnsUnordered("state_province=CA; A=3.0583036700625996; S=74748; C=16347; C0=24441",
"state_province=OR; A=3; S=67659; C=21610; C0=21610")
.explainContains("PLAN=EnumerableInterpreter\n"
+ " BindableProject(state_province=[$0], A=[/(CASE(=($2, 0), null:BIGINT, $1), $2)], "
Expand Down

0 comments on commit dc5a42b

Please sign in to comment.