Skip to content

Add statistics_by_partition API to ExecutionPlan #15495

Description

@xudong963

After #15432 is merged, we'll have partition-level statistics in DataSource.

To make it be used by query optimization, we should flow the info to other nodes, such as SPM, union, etc, so we can add the statistics_by_partition API to ExecutionPlan to implement the idea.

Activity

  1. self-assigned this
    on Mar 30, 2025
  2. alamb commented on Apr 1, 2025

    @alamb
    Contributor

    For anyone else following along, this is part of work to optimize ORDER by queries with pre-sorted data

    Specifically I believe it is a pre-requisite for determining non overlapping key ranges;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions