[ https://issues.apache.org/jira/browse/SPARK-25208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-25208. --------------------------------- Resolution: Fixed Fix Version/s: 2.4.0 Issue resolved by pull request 22200 [https://github.com/apache/spark/pull/22200] > 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 > Assignee: Takuya Ueshin > Priority: Major > Fix For: 2.4.0 > > > 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