Skip to content

Lazy-cache NativePlan nodes after native conversion check to avoid recomputation #1697

@yew1eb

Description

@yew1eb

Converting SparkPlan nodes to NativePlan nodes occurs during the check whether native converting is supported, but it is re-converted again in doExecuteNative. cache the serialized NativePlan nodes as lazy vals and reuse them to avoid recomputation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions