flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xingcan Cui (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-10463) Null literal cannot be properly parsed in Java Table API function call
Date Tue, 06 Nov 2018 15:29:00 GMT

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

Xingcan Cui updated FLINK-10463:
--------------------------------
    Fix Version/s: 1.8.0

> Null literal cannot be properly parsed in Java Table API function call
> ----------------------------------------------------------------------
>
>                 Key: FLINK-10463
>                 URL: https://issues.apache.org/jira/browse/FLINK-10463
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API &amp; SQL
>            Reporter: Xingcan Cui
>            Assignee: Hequn Cheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>
> For example, the expression `Null(STRING).regexpReplace('oo|ar', '')` throws the following
exception.
> {code:java}
> org.apache.flink.table.api.ExpressionParserException: Could not parse expression at column
13: string matching regex `(?i)\Qas\E(?![_$\p{javaJavaIdentifierPart}])' expected but `.'
found
> Null(STRING).regexpReplace('oo|ar', '')
>             ^
> 	at org.apache.flink.table.expressions.ExpressionParser$.throwError(ExpressionParser.scala:576)
> 	at org.apache.flink.table.expressions.ExpressionParser$.parseExpression(ExpressionParser.scala:569)
> {code}



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

Mime
View raw message