Skip to content

Add internal EXPLAIN ANALYZE metric level #22155

@gene-bordegaray

Description

@gene-bordegaray

Is your feature request related to a problem or challenge?

Some execution metrics are useful for low-level operator debugging but are too noisy or high-cardinality for the default EXPLAIN ANALYZE output. Today the summary and dev levels do not provide a clean place for these internal development metrics.

Describe the solution you would like

Add an internal datafusion.explain.analyze_level that includes summary, dev, and low-level internal metrics. Operators can use this level for targeted debugging metrics while keeping the default dev output concise and avoiding unnecessary metric registration overhead.

Describe alternatives you have considered

Add operator-specific flags or environment variables for granular metrics. That makes metrics harder to discover and does not compose well across operators.

Additional context

RepartitionExec granular timings are the first intended use case for this level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions