[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to