Skip to content

Commit 6f89d22

Browse files
authored
Coerce test (#1297)
1 parent c45f7c4 commit 6f89d22

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/cases/coerced_tests.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,8 +1537,11 @@ def test_does_not_duplicate_optimizer_hints_on_merge_coerced
15371537
assert_equal expected, query
15381538
end
15391539

1540-
# Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting expression column.
1541-
coerce_tests! %r{runs queries when using pick with expression column and empty IN}
1540+
# Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting non-aggregate expression column.
1541+
coerce_tests! %r{no queries when using pick with non-aggregate expression and empty IN}
1542+
1543+
# Order column must be in the GROUP clause. However, with implicit ordering we can't test this when selecting aggregate expression column.
1544+
coerce_tests! %r{runs queries when using pick with aggregate expression despite empty IN}
15421545
end
15431546
end
15441547

0 commit comments

Comments
 (0)