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 2014/10/29 00:06:34 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14187667#comment-14187667 ] 

Apache Spark commented on SPARK-3933:
-------------------------------------

User 'mateiz' has created a pull request for this issue:
https://github.com/apache/spark/pull/2983

> 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