hurelhuyag commented on issue #25678: [SPARK-28973][SQL] Add `TimeType` and 
support `java.time.LocalTime` as its external type.
URL: https://github.com/apache/spark/pull/25678#issuecomment-557390521
 
 
   I'm currently using timestamp as time type for create data for rush hour 
graphic. date part is always epoch (1970-01-01). Because spark don't support 
TimeType.
   
   My point is micros is not important. We can implement it just like timestamp 
internally. But date part is always epoch. Only requirement is toString() 
should print only time part (HH:mm:ss.SSS) and mappable to java.sql.Time, 
java.time.LocalTime. This is enough. Maybe we can use timestamp directly. only 
printable representation must be only time part.

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