opt: bug in aggregate scoping rules #59071
Labels
A-sql-optimizer
SQL logical planning and optimizations.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
S-3-productivity
Severe issues that impede the productivity of CockroachDB developers.
T-sql-queries
SQL Queries Team
Consider the following example:
We can create an array from these values successfully, but then when we try to unnest the array, the optimizer returns a cryptic error:
This works fine in Postgres, however:
While we fix this bug, users can do the following as a workaround:
Jira issue: CRDB-3335
The text was updated successfully, but these errors were encountered: