You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2018/09/13 21:28:00 UTC

[jira] [Updated] (FLINK-8739) Optimize runtime support for distinct filter

     [ https://issues.apache.org/jira/browse/FLINK-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabian Hueske updated FLINK-8739:
---------------------------------
    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: FLINK-8688)

> Optimize runtime support for distinct filter
> --------------------------------------------
>
>                 Key: FLINK-8739
>                 URL: https://issues.apache.org/jira/browse/FLINK-8739
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API &amp; SQL
>            Reporter: Rong Rong
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)