You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2016/04/06 06:55:25 UTC

[jira] [Commented] (FLINK-3086) ExpressionParser does not support concatenation of suffix operations

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

ramkrishna.s.vasudevan commented on FLINK-3086:
-----------------------------------------------

This also includes abs() operator when used with an int  like for eg 1.abs() does not work.

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