Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The ExpressionParser of the Table API does not support concatenation of suffix operations. e.g.
table.select("field.cast(STRING).substring(2)")
throws an exception.
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)
However, the Scala implicit Table Expression API supports this.
Attachments
Issue Links
- relates to
-
FLINK-3579 Improve String concatenation
- Resolved