You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rong Rong (JIRA)" <ji...@apache.org> on 2018/08/27 15:20:00 UTC

[jira] [Updated] (FLINK-10222) Table scalar function expression parses error when function name equals the exists keyword suffix

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

Rong Rong updated FLINK-10222:
------------------------------
    Description: 
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. 

Suggestions is to make suffix extraction to be exact match.

some discussion : 

[https://github.com/apache/flink/pull/6432#issuecomment-416127815]

https://github.com/apache/flink/pull/6585#discussion_r212797015

  was:
some discussion : 

[https://github.com/apache/flink/pull/6432#issuecomment-416127815]

https://github.com/apache/flink/pull/6585#discussion_r212797015


> 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 &amp; 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. 
> Suggestions is to make suffix extraction to be exact match.
> 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)