You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/06/10 07:38:00 UTC
[jira] [Commented] (SPARK-8285) CombineSum should be calculated as
unlimited decimal first
[ https://issues.apache.org/jira/browse/SPARK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580051#comment-14580051 ]
Apache Spark commented on SPARK-8285:
-------------------------------------
User 'navis' has created a pull request for this issue:
https://github.com/apache/spark/pull/6736
> CombineSum should be calculated as unlimited decimal first
> ----------------------------------------------------------
>
> Key: SPARK-8285
> URL: https://issues.apache.org/jira/browse/SPARK-8285
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Navis
> Priority: Trivial
>
> {code:title=GeneratedAggregate.scala}
> case cs @ CombineSum(expr) =>
> val calcType = expr.dataType
> expr.dataType match {
> case DecimalType.Fixed(_, _) =>
> DecimalType.Unlimited
> case _ =>
> expr.dataType
> }
> {code}
> calcType is always expr.dataType. credits are all belong to IntelliJ
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org