Skip to content

sql: try reusing existing renders in GROUP BY #10919

@knz

Description

@knz

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.

Metadata

Metadata

Assignees

Labels

A-sql-optimizerSQL logical planning and optimizations.C-performancePerf of queries or internals. Solution not expected to change functional behavior.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions