[
https://issues.apache.org/jira/browse/FLINK-16183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-16183.
------------------------------------
Resolution: Fixed
Implemented in 4ecd525bd99d5e2137ba2a4db585281c4f30a685
> Make identifier parsing in Table API more lenient
> -------------------------------------------------
>
> Key: FLINK-16183
> URL: https://issues.apache.org/jira/browse/FLINK-16183
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / API
> Reporter: Dawid Wysakowicz
> Assignee: Dawid Wysakowicz
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I suggest to make the parsing logic for identifiers in Table API more
> lenient. We should not require users to escape any sql identifiers.
> It will make the identifiers not cross compatible between Table API and SQL,
> but it will improve user's experience and also will let us support parsing
> identifiers coming from Java's ExpressionParser (e.g. for a string array(..)
> it produces a lookup call with an "array" identifier which should be parsed)
> I suggest doing it by extending the FlinkSqlParserImpl with a new logic for
> TableApiSqlIdentifier which would be very similar to CompoundIdentifier with
> slightly adjusted logic which would not discard reserved keywords.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)