Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3086

ExpressionParser does not support concatenation of suffix operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Table SQL / API
    • 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

          Activity

            People

              twalthr Timo Walther
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: