Matei Zaharia created SPARK-3933:
------------------------------------

             Summary: 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