srowen commented on issue #23811: [SPARK-26902][SQL] Support java.time.Instant 
as an external type of TimestampType
URL: https://github.com/apache/spark/pull/23811#issuecomment-466460994
 
 
   I still have a preference for keeping it simple and returning one type, 
being opinionated. That would probably argue for the newer type. However I can 
imagine that could break a lot of code, even though this is only a major 
version upgrade. RIght? or would most user code see the same methods exposed on 
Instant and Timestamp and not care much?
   
   It's a case where I do understand having a flag. I'd even be OK with 
defaulting to instant with this as a safety-valve, to push people to better 
timestamp implementations. The Java 8 class has been out for years.

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