Skip to content

[Enhancement](Nereids) type coercion on subquery when bind #16572

@morrySnow

Description

@morrySnow

Search before asking

  • I had searched in the issues and found no similar issues.

Description

currently, we do typecoercion twice. First one in bind stage, second one after subquery unnest.
The reason is we cannot do type coersion on SubqueryExpr and reserve it when it convert to apply and join.

Solution

do typecoercion on subqueryExpr when binding and remove the second type coercion.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions