[ 
https://issues.apache.org/jira/browse/FLINK-21836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jark Wu updated FLINK-21836:
----------------------------
    Summary: Support parsing special commands by introducing ExtendedParser  
(was: Introduce ParseStrategyParser)

> Support parsing special commands by introducing ExtendedParser
> --------------------------------------------------------------
>
>                 Key: FLINK-21836
>                 URL: https://issues.apache.org/jira/browse/FLINK-21836
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>    Affects Versions: 1.13.0
>            Reporter: Shengkai Fang
>            Assignee: Shengkai Fang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>
> The {{ParseStrategyParser}} is responsible to convert statement to 
> {{Operation}} by {{StatementParseStrategy}}.
> In this JIRA, we also move the getCompletionHints from the planner to parser. 
> The reason why we do this as follow:
>  - parser is the one to convert the input statement to operation.
>  - If we want to get completion hints about command from the planner, planner 
> needs to also maintain a collection of the {{StatementParseStrategy}}. We 
> think the responsiblity should belong to the parser rather than planner.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to