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

Parse failure for REPLACE function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Functions - Drill
    • None

    Description

      The REPLACE function which used to work before now fails with the following error:

      select replace(name, 'or', 'EA') from voter where name like 'victor%';

      message: "Failure while parsing sql. < SqlParseException:[ Encountered "replace" at line 1, column 8.
      Was expecting one of:
      "UNION" ...
      "INTERSECT" ...
      "EXCEPT" ...
      .
      .
      .

      Attachments

        1. DRILL-738.patch
          1 kB
          Mehant Baid

        Activity

          People

            mehant Mehant Baid
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: