[ https://issues.apache.org/jira/browse/SPARK-38123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-38123. ------------------------------ Fix Version/s: 3.3.0 Resolution: Fixed Issue resolved by pull request 35412 [https://github.com/apache/spark/pull/35412] > Unified use `DataType.catalogString` as `targetType` of > `QueryExecutionErrors#castingCauseOverflowError` > -------------------------------------------------------------------------------------------------------- > > Key: SPARK-38123 > URL: https://issues.apache.org/jira/browse/SPARK-38123 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.3.0 > Reporter: Yang Jie > Assignee: Yang Jie > Priority: Minor > Fix For: 3.3.0 > > > SPARK-33541 introduces `QueryExecutionErrors#castingCauseOverflowError` and > there are 2 ways to input parameter `targetType` in spark: > * Use `DataType.catalogString` as `targetType`, such as use in `Cast.scala` > and `IntervalUtils.scala` > * Use custom literal such as `short`,`int` and `long` in `Decimal.scala` and > `numberics.scala` > > And we can use `DataType.catalogString` uniformly > > -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org