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

Null literal cannot be properly parsed in Java Table API function call

    XMLWordPrintableJSON

Details

    Description

      For example, the expression `Null(STRING).regexpReplace('oo|ar', '')` throws the following exception.

      org.apache.flink.table.api.ExpressionParserException: Could not parse expression at column 13: string matching regex `(?i)\Qas\E(?![_$\p{javaJavaIdentifierPart}])' expected but `.' found
      Null(STRING).regexpReplace('oo|ar', '')
                  ^
      
      	at org.apache.flink.table.expressions.ExpressionParser$.throwError(ExpressionParser.scala:576)
      	at org.apache.flink.table.expressions.ExpressionParser$.parseExpression(ExpressionParser.scala:569)
      

      Attachments

        Issue Links

          Activity

            People

              hequn8128 Hequn Cheng
              xccui Xingcan Cui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: