sql: cannot apply ARRAY() over correlated subquery #35710
Labels
A-sql-optimizer
SQL logical planning and optimizations.
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
X-anchored-telemetry
The issue number is anchored by telemetry references.
Consider the following SQL:
This currently fails in CockroachDB with "can't execute a correlated ARRAY.."
PostgreSQL produces this:
with the following logical plan:
The text was updated successfully, but these errors were encountered: