You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (JIRA)" <ji...@apache.org> on 2018/08/23 10:51:00 UTC

[jira] [Created] (SPARK-25208) Loosen Cast.forceNullable for DecimalType.

Takuya Ueshin created SPARK-25208:
-------------------------------------

             Summary: Loosen Cast.forceNullable for DecimalType.
                 Key: SPARK-25208
                 URL: https://issues.apache.org/jira/browse/SPARK-25208
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Takuya Ueshin


Casting to {{DecimalType}} is not always needed to force nullable.
If the decimal type to cast is wider than original type, or only truncating or precision loss, the casted value won't be {{null}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org