MaxGekk opened a new pull request #24330: [SPARK-27422][SQL] current_date() 
should return current date in the session time zone
URL: https://github.com/apache/spark/pull/24330
 
 
   ## What changes were proposed in this pull request?
   
   In the PR, I propose to revert 2 commits 
https://github.com/apache/spark/commit/06abd06112965cd73417ccceacdbd94b6b3d2793 
and 
https://github.com/apache/spark/commit/61561c1c2d4e47191fdfe9bf3539a3db29e89fa9,
 and take current date via `LocalDate.now` in the session time zone. The result 
is stored as days since epoch `1970-01-01`.
   
   ## How was this patch tested?
   
   It was tested by `DateExpressionsSuite`, `DateFunctionsSuite`, 
`DateTimeUtilsSuite`, and `ComputeCurrentTimeSuite`.
   

----------------------------------------------------------------
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.
 
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