GitHub user navis opened a pull request:
https://github.com/apache/spark/pull/6736
[SPARK-8285] [SQL] CombineSum should be calculated as unlimited decimal
first
case cs @ CombineSum(expr) =>
val calcType = expr.dataType
expr.dataType match {
case DecimalType.Fixed(_, _) =>
DecimalType.Unlimited
case _ =>
expr.dataType
}
calcType is always expr.dataType. credits are all belong to IntelliJ
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/navis/spark SPARK-8285
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6736.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6736
----
commit 20382c1654dc609661b16b2f583dded7d815eb8b
Author: navis.ryu <[email protected]>
Date: 2015-06-10T05:35:06Z
[SPARK-8285] [SQL] CombineSum should be calculated as unlimited decimal
first
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]