Skip to content

Commit

Permalink
Merge #59663
Browse files Browse the repository at this point in the history
59663: sql: fix logictest flake due to lack of rowsort r=rytaft a=rytaft

Fixes #59625

Release note: None

Co-authored-by: Rebecca Taft <[email protected]>
  • Loading branch information
craig[bot] and rytaft committed Feb 1, 2021
2 parents e6b069b + d4bac61 commit 8abb0e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,13 @@ CREATE TABLE t59615_inv (
INVERTED INDEX (x, y)
)

query TITI
query TITI rowsort
SELECT * FROM (VALUES ('"a"'::jsonb), ('"b"'::jsonb)) AS u(y) LEFT JOIN t59615_inv t ON t.y @> u.y
----
"a" NULL NULL NULL
"b" NULL NULL NULL

query T
query T rowsort
SELECT * FROM (VALUES ('"a"'::jsonb), ('"b"'::jsonb)) AS u(y) WHERE NOT EXISTS (
SELECT * FROM t59615_inv t WHERE t.y @> u.y
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/lookup_join
Original file line number Diff line number Diff line change
Expand Up @@ -600,13 +600,13 @@ CREATE TABLE t59615 (
)

# We cannot create a lookup join in this case.
query IIII
query IIII rowsort
SELECT * FROM (VALUES (1), (2)) AS u(y) LEFT JOIN t59615 t ON u.y = t.y
----
1 NULL NULL NULL
2 NULL NULL NULL

query I
query I rowsort
SELECT * FROM (VALUES (1), (2)) AS u(y) WHERE NOT EXISTS (
SELECT * FROM t59615 t WHERE u.y = t.y
)
Expand Down

0 comments on commit 8abb0e3

Please sign in to comment.