Skip to content

Improve unnamed expressions #279

@Dandandan

Description

@Dandandan

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
To support optimizations like constant folding the column names need to keep consistent.

This is already visible at the (limited) constant folding we have:

> SELECT TRUE = TRUE;
+---------------+
| Boolean(true) |
+---------------+
| true          |
+---------------+
1 rows in set. Query took 0 seconds.

Describe the solution you'd like

Redesign DataFusion to handle unnamed expressions better.

Describe alternatives you've considered
Keep it as is - here the column names would changed based on the applied optimizations.

Additional context
#237

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions