Ingo Bürk created FLINK-22770:
---------------------------------
Summary: Expose SET/RESET from the parser
Key: FLINK-22770
URL:
https://issues.apache.org/jira/browse/FLINK-22770 Project: Flink
Issue Type: New Feature
Components: Table SQL / API, Table SQL / Planner
Affects Versions: 1.13.0
Reporter: Ingo Bürk
The SET/RESET statements (DCL¹) are currently implemented using regular expressions in the ExtendedParser. They should instead be properly added to the grammar and parser.
In a second step, the ExtendedParser implementation for it can be removed. However, this would be a breaking change as key/value would then have to be quoted (as they are in other places, i.e. table options) and no longer be treated as SQL identifiers.
¹ SET also exists in a no-argument version where it becomes DQL. For the scope of this issue I'm excluding this here.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)