Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2658

Add ilike and regex substring functions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Functions - Drill
    • None

    Description

      This will not modify the parser, so postgress syntax such as:

      "... where c ILIKE '%ABC%'"

      will not be currently supported. It will simply be a function:

      "... where ILIKE(c, '%ABC%')"

      Same for substring:

      "select substr(c, 'abc')..."

      will be equivalent to postgress

      "select substr(c from 'abc')",

      but 'abc' will be treated as a java regex pattern.

      Attachments

        1. DRILL-2658.patch
          9 kB
          Steven Phillips
        2. DRILL-2658.patch
          9 kB
          Steven Phillips

        Issue Links

          Activity

            People

              sphillips Steven Phillips
              sphillips Steven Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: