You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sunjincheng (JIRA)" <ji...@apache.org> on 2019/01/18 12:51:00 UTC

[jira] [Closed] (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 ]

sunjincheng closed FLINK-8739.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

Fixed in master: 12260a27ddb0ec8356b4981f033c6c9954fe2ab4

> 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
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)