Skip to content

Refactor convertBroadcastExchangeExec to use direct type parameter instead of pattern matching #1423

@guixiaowen

Description

@guixiaowen

Description:
This PR refactors convertBroadcastExchangeExec to use a more concise and type-safe definition.
The previous implementation used pattern matching on SparkPlan, which is unnecessary since the function is always invoked with a BroadcastExchangeExec instance.
The new version improves readability, aligns with other similar conversion methods, and removes redundant code.

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