zikangh commented on code in PR #57480:
URL: https://github.com/apache/spark/pull/57480#discussion_r3642092265
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala:
##########
@@ -307,6 +307,9 @@ case class CurrentBatchTimestamp(
case _: TimestampNTZType =>
Literal(convertTz(timestampUs, ZoneOffset.UTC, zoneId),
TimestampNTZType)
case _: DateType => Literal(microsToDays(timestampUs, zoneId), DateType)
+ case t: TimeType =>
Review Comment:
Please guard this behind a flag. also we should think through if this is a
breaking change or behavior change.
--
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]