Skip to content

Refine the statistics estimation for the limit and aggregate operator #4715

@yahoNanJing

Description

@yahoNanJing

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Statistics is very useful for making intelligent decisions, especially for choosing proper join implementation. Therefore, it's better to introduce it into each plan operator as much as possible.

Describe the solution you'd like

  • For the limit operator, the output row count is surely not larger than its limited number;
  • For the aggregate operator, the output row count is surely not larger than its input row count.

Describe alternatives you've considered

Additional context

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