Skip to content

python/sedonadb: Make explain plans easier to programatically inspect #734

@paleolimbot

Description

@paleolimbot

In #733 and a few other places (I think Parquet pruning) we use the explain output to assert that something is or isn't happening in the internals of the engine. We currently don't have a great way to inspect these.

We should probably have .explain() return an object like:

class ExplainPlan:

    def __init__(self, df, options):
        pass

    def __repr__(self):
        # Current output or close
        pass

...to which we could add methods to more robustly inspect the structure/metrics.

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