Skip to content

refactor PlanNode output columns #87

@Fedomn

Description

@Fedomn

Remove PlannerContext for subquery, because the PlanRef always changed in the optimizer, so the original way is incorrect.

Currently, we used BoundAlias to represent Subquery columns which binding in Subquery.bind_alias_to_all_columns method.

And then BoundExpr.output_column_catalog will return table_id based on its expr type. For unclear expr return table_id is empty string, such as: Constant and BinaryOp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions