You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/10/16 19:23:05 UTC

[jira] [Created] (SPARK-11151) Use Long internally for DecimalType with precision <= 18

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