[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to