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

Drill fails to parse TRIM function

    XMLWordPrintableJSON

Details

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

    Description

      The following TRIM function failed:
      select trim(name) from voter where rownum=20;

      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "06ab5b53-7781-44fb-ae8f-2c986065e952"
      endpoint {
      address: "qa-node57.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while parsing sql. < ValidationException:[ java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 ] < IndexOutOfBoundsException:[ Index: 0, Size: 0 ]"
      ]

      Attachments

        1. DRILL-561.patch
          5 kB
          Cliff Buchanan
        2. 0001-implement-btrim-trim.patch
          11 kB
          Cliff Buchanan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: