sql: avoid materializing all rows from a subquery into a tuple #64692
Labels
C-cleanup
Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
T-sql-queries
SQL Queries Team
Projects
Depending on the execution mode of the subquery, we might be materializing all rows (which can be arbitrary large number in general case) into a single tuple to be stored as a single
tree.Datum
. This is suboptimal, and we should find a way to avoid this materialization. See #64464 for an example of OOM caused by this behavior.Jira issue: CRDB-7208
The text was updated successfully, but these errors were encountered: