Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8739

Optimize runtime support for distinct filter

    XMLWordPrintableJSON

Details

    Description

      Possible optimizaitons:
      1. Decouple distinct map and actual accumulator so that they can separately be created in codegen.
      2. Reuse same distinct accumulator for filtering, e.g. `SELECT COUNT(DISTINCT(a)), SUM(DISTINCT(a))` should reuse the same distinct map.

      Attachments

        Issue Links

          Activity

            People

              dian.fu Dian Fu
              rongr Rong Rong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m