Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4289

Mark slots produced by NDV() and NDV_NO_FINALIZE() as non-nullable.

    XMLWordPrintableJSON

Details

    Description

      COMPUTE STATS and COMPUTE INCREMENTAL STATS might get a slight speedup if we marked the aggregation slots as non-nullable.

      Of course, regular uses of NDV() and NDV_NO_FINALIZE() would also benefit.

      Not sure what speedup might be (simple experiments were inconclusive), but making this change seems strictly better than leaving the slots nullable.

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: