Davies Liu created SPARK-11151:
----------------------------------

             Summary: Use Long internally for DecimalType with precision <= 18
                 Key: SPARK-11151
                 URL: https://issues.apache.org/jira/browse/SPARK-11151
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Davies Liu


It's expensive to create a Decimal object for small, we could use Long 
directly, just like what we had done for Date and Timestamp.

This will involved lots of change that including:

1) inbound/outbound conversion
2) access/storage in InternalRow
3) all the expression that support DecimalType



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