[
https://issues.apache.org/jira/browse/FLINK-21836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu closed FLINK-21836.
---------------------------
Fix Version/s: 1.13.0
Assignee: Shengkai Fang
Resolution: Fixed
Fixed in master: c7c95e5d9cb8468808e594b3ff1cabd79b0673a2
> Introduce ParseStrategyParser
> -----------------------------
>
> 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)