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

Add support for Regular Expression Operators (RLIKE)

    XMLWordPrintableJSON

Details

    Description

      Currently Regular Expression Operators (RLIKE) are not supported. e.g.:

      select * from emps name rlike '^(K|G|W)' 
      

      we'll get Error:

      Error: Error while executing SQL "select * from emps name rlike '^(K|G|W)'": parse failed: Encountered "rlike" at line 1, column 25.
      

      So, after https://issues.apache.org/jira/browse/CALCITE-1918 fixed. I want add RLIKE supported in flink (TableAPI and SQL).

      Reference:
      MySql: https://dev.mysql.com/doc/refman/5.7/en/regexp.html#operator_regexp

      Attachments

        Activity

          People

            Unassigned Unassigned
            sunjincheng121 sunjincheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: