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

Split function index extraction fails when result has no rows

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.15.0
    • None

    Description

      Query:
      select split(n_name, ' ') [1] from cp.`tpch/nation.parquet` where n_nationkey = -1 group by n_name order by n_name limit 10

      Error:

      Error: SYSTEM ERROR: CompileException: Line 23, Column 35: No applicable constructor/method found for actual parameters "int, org.apache.drill.exec.vector.UntypedNullHolder"; candidates are: "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.TinyIntReader.read(org.apache.drill.exec.expr.holders.TinyIntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.TinyIntReader.read(org.apache.drill.exec.expr.holders.NullableTinyIntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt1Reader.read(org.apache.drill.exec.expr.holders.UInt1Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt1Reader.read(org.apache.drill.exec.expr.holders.NullableUInt1Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt2Reader.read(org.apache.drill.exec.expr.holders.UInt2Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt2Reader.read(org.apache.drill.exec.expr.holders.NullableUInt2Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.SmallIntReader.read(org.apache.drill.exec.expr.holders.SmallIntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.SmallIntReader.read(org.apache.drill.exec.expr.holders.NullableSmallIntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.IntReader.read(org.apache.drill.exec.expr.holders.IntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.IntReader.read(org.apache.drill.exec.expr.holders.NullableIntHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt4Reader.read(org.apache.drill.exec.expr.holders.UInt4Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.UInt4Reader.read(org.apache.drill.exec.expr.holders.NullableUInt4Holder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.Float4Reader.read(org.apache.drill.exec.expr.holders.Float4Holder)", "public abstract void org.apache.drill.exec.vector.complex.reade
      .....
      ...........
      ...............
      exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.RepeatedBitReader.read(int, org.apache.drill.exec.expr.holders.NullableBitHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.RepeatedBitReader.read(int, org.apache.drill.exec.expr.holders.BitHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(int, org.apache.drill.exec.expr.holders.UnionHolder)", "public abstract void org.apache.drill.exec.vector.complex.reader.BaseReader.read(org.apache.drill.exec.expr.holders.UnionHolder)"
      
      Fragment 0:0
      

      Reason:
      When UntypedNull implementation was introduced in DRILL-5546, not all cases of its handling were covered.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arina Arina Ielchiieva
            arina Arina Ielchiieva
            Vova Vysotskyi Vova Vysotskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment