Skip to content

Reduce the clone() cost of Statistics by caching #15614

@xudong963

Description

@xudong963
          Wrapping the Statistics with `Arc<>'`s can be a solution?

Some structs like FileGroup, PartitionedData etc. caches the Statistics. So, if the source operators can access those, they should return over them. However, for other intermediate operators, perhaps we can utilize PlanProperties? The Statistics will be initiated once and cached like other planning properties

Originally posted by @berkaysynnada in #15503 (comment)

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