[
https://issues.apache.org/jira/browse/SPARK-35927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang updated SPARK-35927:
-----------------------------------
Fix Version/s: (was: 3.2.0)
3.3.0
Affects Version/s: (was: 3.2.0)
3.3.0
> Remove type collection AllTimestampTypes
> ----------------------------------------
>
> Key: SPARK-35927
> URL: https://issues.apache.org/jira/browse/SPARK-35927
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Minor
> Fix For: 3.3.0
>
>
> As discussed in
> https://github.com/apache/spark/pull/33115#discussion_r659866760, it is more
> convenient to have a new data type "AnyTimestampType" instead of using type
> collection `AllTimestampTypes`:
> 1. simplify the pattern match
> 2. In the default type coercion rules, when implicit casting a type to a
> TypeCollection type, Spark chooses the first convertible data type as the
> result. If we are going to make the default timestamp type configurable,
> having AnyTimestampType is better
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]