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

Regression: Forcing a merge join instead of a hash join results in a Failure while reading vector. Expected vector class of org.apache.drill.exec.vector.BigIntVector but was holding vector class org.apache.drill.exec.vector.VarBinaryVector.

    XMLWordPrintableJSON

Details

    Description

      Test case:

      alter session set `planner.enable_hashjoin` = false;
      select count
      from supplier s, lineitem l, orders o
      where s.s_suppkey = l.l_suppkey
      and o.o_orderkey = l.l_orderkey
      and l.l_shipdate between date '1995-01-01' and date '1995-12-31' ;

      If the alter session is removed the query works fine. Which leads me to believe its something in either the mergejoin or the sort before the mergejoin step.

      Attachments

        Activity

          People

            DrillCommitter DrillCommitter
            inramana Ramana Inukonda Nagaraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: