[ 
https://issues.apache.org/jira/browse/FLINK-10222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593881#comment-16593881
 ] 

vinoyang commented on FLINK-10222:
----------------------------------

[~walterddr] you are right,  I tried a lot of test cases built on keywords in 
the suffix list. I have always wondered why some keywords do not appear, such 
as the *log* keyword, *log2*, *log10*, *logabc*, can be resolved normally, and 
later found that it requires parameters. Well, if [~fhueske] have no 
objections, I can fix this PR, in the form of a regular exact match.

> Table scalar function expression parses error when function name equals the 
> exists keyword suffix
> -------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-10222
>                 URL: https://issues.apache.org/jira/browse/FLINK-10222
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>            Reporter: vinoyang
>            Priority: Major
>
> Suffix extraction in ExpressionParser.scala does not actually support 
> extraction of keywords with the same prefix. For example: Adding suffix 
> parsing rules for {{a.fun}} and {{a.function}} simultaneously will causes 
> exceptions. 
> some discussion : 
> [https://github.com/apache/flink/pull/6432#issuecomment-416127815]
> https://github.com/apache/flink/pull/6585#discussion_r212797015



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to