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

Reply via email to