You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (JIRA)" <ji...@apache.org> on 2018/11/30 07:29:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-8739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704356#comment-16704356 ] 

Dian Fu commented on FLINK-8739:
--------------------------------

Hi [~walterddr], are you still working on this ticket? I'd like to help on this ticket if you haven't started the work.  Thanks a lot.

> 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)