sql: try reusing existing renders in GROUP BY #10919
Labels
A-sql-optimizer
SQL logical planning and optimizations.
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
Milestone
Found while working on #10799, suggested by @RaduBerinde: when GROUP BY is specified using a column ordinal (e.g.
GROUP BY 1
) we duplicate the rendered expression in the select node instead of reusing the existing render. This could be perhaps optimized.The text was updated successfully, but these errors were encountered: