flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4832) Count/Sum 0 elements
Date Tue, 22 Nov 2016 11:14:58 GMT

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

ASF GitHub Bot commented on FLINK-4832:

Github user ex00 commented on the issue:

    Hi @fhueske
    >Actually, I think implementing the fix as an optimizer rule would be the nicer solution.
In that case we could transform one of the ITCases into a test that extends the TableTestBase.
    What do you think?
    I'm think it is good idea. I can create ``AggregationTest extends TableTestBase`` where
we will verify sql for queries are containing aggregate functions

> Count/Sum 0 elements
> --------------------
>                 Key: FLINK-4832
>                 URL: https://issues.apache.org/jira/browse/FLINK-4832
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Anton Mushin
> Currently, the Table API is unable to count or sum up 0 elements. We should improve DataSet
aggregations for this. Maybe by union the original DataSet with a dummy record or by using
a MapPartition function. Coming up with a good design for this is also part of this issue.

This message was sent by Atlassian JIRA

View raw message