Timo Walther created FLINK-3086:
-----------------------------------

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

Reply via email to