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

Table scalar function expression parses error when function name equals the exists keyword suffix

    XMLWordPrintableJSON

Details

    Description

      Suffix extraction in ExpressionParser.scala does not actually support extraction of keywords with the same prefix. For example: Adding suffix parsing rules for a.fun and a.function simultaneously will causes exceptions.

      some discussion : 

      https://github.com/apache/flink/pull/6432#issuecomment-416127815

      https://github.com/apache/flink/pull/6585#discussion_r212797015

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yanghua vinoyang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: