Skip to content

Constant Columns should output statistics #19416

@EmilyMatt

Description

@EmilyMatt

Is your feature request related to a problem or challenge?

We lose opportunities for many optimizations due to not outputting these statistics

Describe the solution you'd like

In project and similar operators, when encountering a constant column, we should be able to output statistics about it, for example min and max values should be the same values, the memory usage should be constant etc, such info can later be used to optimize sorts and so on.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions