Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4131F200BC0 for ; Tue, 15 Nov 2016 11:29:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3FEA1160B02; Tue, 15 Nov 2016 10:29:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8AD03160B03 for ; Tue, 15 Nov 2016 11:28:59 +0100 (CET) Received: (qmail 36612 invoked by uid 500); 15 Nov 2016 10:28:58 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 36593 invoked by uid 99); 15 Nov 2016 10:28:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2016 10:28:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 903202C4C75 for ; Tue, 15 Nov 2016 10:28:58 +0000 (UTC) Date: Tue, 15 Nov 2016 10:28:58 +0000 (UTC) From: "Timo Walther (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4832) Count/Sum 0 elements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Nov 2016 10:29:00 -0000 [ https://issues.apache.org/jira/browse/FLINK-4832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15666782#comment-15666782 ] Timo Walther commented on FLINK-4832: ------------------------------------- We should first fix FLINK-4263 before we implement this issue. I will assign it to me. > 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 (v6.3.4#6332)