[
https://issues.apache.org/jira/browse/SPARK-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reynold Xin resolved SPARK-8285.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
1.4.1
Assignee: Navis
> 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
> Assignee: Navis
> Priority: Trivial
> Fix For: 1.4.1, 1.5.0
>
>
> {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: [email protected]
For additional commands, e-mail: [email protected]