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

ASF GitHub Bot commented on FLINK-3086:
---------------------------------------

Github user twalthr commented on the pull request:

    https://github.com/apache/flink/pull/1912#issuecomment-215047867
  
    Ok, I will merge this ;-)


> ExpressionParser does not support concatenation of suffix operations
> --------------------------------------------------------------------
>
>                 Key: FLINK-3086
>                 URL: https://issues.apache.org/jira/browse/FLINK-3086
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> The ExpressionParser of the Table API does not support concatenation of 
> suffix operations. e.g. 
> {code}table.select("field.cast(STRING).substring(2)"){code} throws  an 
> exception.
> {code}
> org.apache.flink.api.table.ExpressionException: Could not parse expression: 
> string matching regex `\z' expected but `.' found
>       at 
> org.apache.flink.api.table.parser.ExpressionParser$.parseExpressionList(ExpressionParser.scala:224)
> {code}
> However, the Scala implicit Table Expression API supports this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to