MaxGekk commented on PR #39239:
URL: https://github.com/apache/spark/pull/39239#issuecomment-1470569694

   > So the problem here would be implementation detail.
   
   @HyukjinKwon I think this is not impl details but a fundamental problem of 
`datetime`, especially in the corner case of `0001-01-01 00:00:00+00:00`. Since 
the last one is a physical timestamp in the `+00:00` zone offset, it can be 
mapped to **local** timestamps >= `0001-01-01 00:00:00` as well as to 
timestamps < `0001-01-01 00:00:00`, for instance `0001-01-01 16:00:00 B.C.` ( 
the local date/time before the common (or current) era). And the last one is 
not acceptable by python's `datetime`.


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to