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

Fix invalid result issues with StreamingAggBatch

    XMLWordPrintableJSON

Details

    Description

      There are two issues that are causing invalid results:
      1. In some conditions we are failing to add the record to current aggregation workspace around batch boundary or output batch is full.
      2. Incorrectly cleaning up the previous batch. Currently we keep a reference to the current batch in "previous" and try to get the next incoming batch which has more than zero records or there are no incoming batches. If the next incoming batch has zero records, we are cleaning up the "previous" batch.

      Attachments

        1. DRILL-2855-1.patch
          3 kB
          Venki Korukanti

        Activity

          People

            vkorukanti Venki Korukanti
            vkorukanti Venki Korukanti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: