gengliangwang commented on a change in pull request #33136:
URL: https://github.com/apache/spark/pull/33136#discussion_r661475310
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
##########
@@ -961,13 +961,15 @@ object TypeCoercion extends TypeCoercionBase {
// Implicit cast between date time types
case (DateType, TimestampType) => TimestampType
+ case (DateType, AnyTimestampType) => TimestampType
Review comment:
I will address this in the PR for extracting date fields.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]