MaxGekk commented on issue #27807: [WIP][SQL] Convert Catalyst's DATE/TIMESTAMP 
to Java Date/Timestamp via local date-time
URL: https://github.com/apache/spark/pull/27807#issuecomment-595648475
 
 
   @cloud-fan The rebasing cause a few issues. For example, we cannot use 
TimestampFormatter/DateFormatter to format java.sql.Timestamp/Date anymore:
   
https://github.com/apache/spark/blob/1fac06c4307c8c7a5a48a50952d48ee5b9ebccb2/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala#L74
   To format rebased Java Timestamp/Date instances before 1582, need to use 
Julian based formatter - SimpleDateFormat.

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