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

Xingcan Cui edited comment on FLINK-10463 at 11/7/18 11:32 AM:
---------------------------------------------------------------

Fixed in 1.8.0 5a4e5e9dcaa83368862d27bd80429235c02ed66e
Fixed in 1.7.1 98198d4cda78cc815fe6430e2249130efb102b61
Fixed in 1.6.3 761c7db58ea39bfc3a2bfdacba847d2d6e224129


was (Author: xccui):
Fixed in 1.8.0 5a4e5e9dcaa83368862d27bd80429235c02ed66e

> 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 & SQL
>            Reporter: Xingcan Cui
>            Assignee: Hequn Cheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.6.3, 1.8.0, 1.7.1
>
>
> 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)

Reply via email to