flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rong Rong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-10222) Table scalar function expression parses error when function name equals the exists keyword suffix
Date Mon, 27 Aug 2018 15:53:00 GMT

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

Rong Rong commented on FLINK-10222:
-----------------------------------

I think making it exactly match is probably the best solution here. I briefly considered making
the {{opt("()")}} mandatory but that breaks backward compatibility. Most of the reasons why
this was not surface previously was that may of the short keywords requires arguments, such
as {{as}}.  

> 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. 
> 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)

Mime
View raw message