beliefer commented on a change in pull request #33258:
URL: https://github.com/apache/spark/pull/33258#discussion_r665982586
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/MicroBatchExecution.scala
##########
@@ -558,6 +558,12 @@ class MicroBatchExecution(
// dummy string to prevent UnresolvedException and to prevent to be
used in the future.
CurrentBatchTimestamp(offsetSeqMetadata.batchTimestampMs,
ct.dataType, Some("Dummy TimeZoneId"))
+ case ct: LocalTimestamp =>
+ // LocalTimestamp is not TimeZoneAwareExpression while
CurrentBatchTimestamp is.
+ // Without TimeZoneId, CurrentBatchTimestamp is unresolved. Here, we
use an explicit
+ // dummy string to prevent UnresolvedException and to prevent to be
used in the future.
+ CurrentBatchTimestamp(offsetSeqMetadata.batchTimestampMs,
+ ct.dataType, Some("Dummy TimeZoneId"))
Review comment:
OK
--
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]