You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/11/02 03:31:33 UTC
[jira] [Resolved] (SPARK-3933) Optimize decimal type in Spark SQL
for those with small precision
[ https://issues.apache.org/jira/browse/SPARK-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-3933.
-------------------------------------
Resolution: Fixed
> Optimize decimal type in Spark SQL for those with small precision
> -----------------------------------------------------------------
>
> Key: SPARK-3933
> URL: https://issues.apache.org/jira/browse/SPARK-3933
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Matei Zaharia
> Assignee: Matei Zaharia
>
> With fixed-precision decimals, many decimal values will fit in a Long, so we can use a Decimal class with a mutable Long field to represent the unscaled value, rather than allocating a BigDecimal. We can then do some operations directly on these Long fields.
--
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