Skip to content

[Epic] Complete pulling out special SQL planning from the Sql Parser #11207

Closed
@alamb

Description

@alamb

Is your feature request related to a problem or challenge?

As discussed in #10534, @jayzhan211 added a UserDefinedSQLPlanner in #11180 so that the translation of certain SQL sytanx to LogicalPlans and Exprs are not hard coded in SqlToRel but instead are controlled by a UserDefinedSQLPlanner

Now that we have the pattern, we need to move the other remaining functionality that is hard coded (e.g. looking up a function "date_part" by name) in SqlToRel to the UserDefinedSQLPlanner

Describe the solution you'd like

To rewrite with sql planner

Describe alternatives you've considered

No response

Additional context

Discussion is here: #10534

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions