dongjoon-hyun opened a new pull request #23660: [SPARK-26379][SS][FOLLOWUP] Use 
dummy TimeZoneId to avoid xception in CurrentBatchTimestamp
URL: https://github.com/apache/spark/pull/23660
 
 
   ## What changes were proposed in this pull request?
   
   Spark replaces `CurrentTimestamp` with `CurrentBatchTimestamp`.
   However, `CurrentBatchTimestamp` is `TimeZoneAwareExpression` while 
`CurrentTimestamp` isn't.
   Without TimeZoneId, `CurrentBatchTimestamp` becomes unresolved. It raises 
`UnresolvedException`.
   
   Since `CurrentDate` is `TimeZoneAwareExpression`, there is no problem with 
`CurrentDate`.
   
   This PR reverts the previous patch on `MicroBatchExecution` and fixes the 
root cause.
   
   ## How was this patch tested?
   
   Pass the Jenkins with the updated test cases.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to