Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1918

Add support for Regular Expression Operators (RLIKE)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • core
    • None

    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, in this JIRA. I want add RLIKE supported.

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: