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

IOOB when streaming aggregate is on the left side of hash join

    XMLWordPrintableJSON

Details

    Description

      This issue is similar to DRILL-2107.

      Issue can be reproduced by enabling SwapJoinRule in DrillRuleSets and running the following query.

      alter session set `planner.slice_target` = 1;
      alter session set `planner.enable_hashagg` = false;
      alter session set `planner.enable_streamagg` = true;

      select l_suppkey, sum(l_extendedprice)/sum(l_quantity) as avg_price
      from cp.`tpch/lineitem.parquet` where l_orderkey in
      (select o_orderkey from cp.`tpch/orders.parquet` where o_custkey = 2)
      group by l_suppkey having sum(l_extendedprice)/sum(l_quantity) > 1850.0;

      Attachments

        Issue Links

          Activity

            People

              ben-zvi Boaz Ben-Zvi
              mehant Mehant Baid
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: