From issues-return-230591-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Tue Jul 2 16:18:02 2019 Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id D4F14190D5 for ; Tue, 2 Jul 2019 16:18:01 +0000 (UTC) Received: (qmail 54705 invoked by uid 500); 2 Jul 2019 16:18:01 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 54606 invoked by uid 500); 2 Jul 2019 16:18:01 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 54585 invoked by uid 99); 2 Jul 2019 16:18:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2019 16:18:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 909C8E2E79 for ; Tue, 2 Jul 2019 16:18:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 400A5261A3 for ; Tue, 2 Jul 2019 16:18:00 +0000 (UTC) Date: Tue, 2 Jul 2019 16:18:00 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-28224) Sum aggregation returns null on overflow decimals MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-28224?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-28224: ------------------------------------ Assignee: Apache Spark > Sum aggregation returns null on overflow decimals > ------------------------------------------------- > > Key: SPARK-28224 > URL: https://issues.apache.org/jira/browse/SPARK-28224 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.0.0 > Reporter: Mick Jermsurawong > Assignee: Apache Spark > Priority: Major > > Given the option to throw exception on overflow on, sum aggregation of ov= erflowing bigdecimal still remain null. {{DecimalAggregates}} is only invok= ed when expression of the sum (not the elements to be operated) has suffici= ently small precision. The fix seems to be in Sum expression itself.=C2=A0 > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org