rsg_test.go:965: Crash detected: server panic: pq: internal error: lookup join with columns (9,29,33) that are not required; required: (9,33)
Query:
SELECT
'xJ8Qy b':::STRING AS col_366889, tab_160855.col1_8 AS col_366890
FROM
defaultdb.public.table̼_1 AS tab_160855
JOIN defaultdb.public.table̼_1 AS tab_160856 ON (tab_160855.col1_8) = (tab_160856.col1_9)
WHERE
tab_160855.col1_8::STRING
IN (
SELECT
"%p
taB_160857".col1_8::STRING AS col_366888
FROM
defaultdb.public.table̼_1@"table̼_1_col1_8_ćol1""_0_idx" AS "%p
taB_160857"
WHERE
"%p
taB_160857"."col 1_4"
ORDER BY
"%p
taB_160857".col1_8 ASC NULLS FIRST
LIMIT
84:::INT8
)
ORDER BY
tab_160856.col1_9, tab_160855.col1_8 ASC NULLS FIRST
LIMIT
30:::INT8;
sql/tests.TestRandomSyntaxSQLSmith failed with artifacts on release-24.1 @ 317fee473f12c233df08ca2ed031023deb821c29:
Random syntax error:
Query:
Schema:
Help
See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)
Same failure on other branches
- #120970 sql/tests: TestRandomSyntaxSQLSmith failed [SIGSEGV in geos.LineMerge] [A-spatial C-bug C-test-failure O-robot P-3 T-sql-queries branch-release-23.1.18-rc]
/cc @cockroachdb/sql-foundations
This test on roachdash | Improve this report!
Jira issue: CRDB-41515