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

LENGTH(string bytea, encoding name) function fails to execute

    XMLWordPrintableJSON

Details

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

    Description

      The LENGTH(string bytea, encoding name) function fails with the following error:

      select length('\x6170706c65','UTF8') from voter where voter_id=10;

      Query failed: org.apache.drill.exec.rpc.RpcException: [error_id: "92a9be62-c2a6-44aa-a0f6-c0185abde201"
      endpoint {
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Screen received stop request sent. < SchemaChangeException:[ Failure while trying to materialize incoming schema. Errors:

      Error in expression at index 1. Error: Missing function implementation: [lengthUtf8(VARCHAR-REQUIRED)]. Full expression: --UNKNOWN EXPRESSION-.. ]"

      Attachments

        1. DRILL-720.patch
          3 kB
          Mehant Baid

        Activity

          People

            DrillCommitter DrillCommitter
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: