MaxGekk commented on issue #26134: [SPARK-29486][SQL] CalendarInterval should 
have 3 fields: months, days and microseconds
URL: https://github.com/apache/spark/pull/26134#issuecomment-543060770
 
 
   > My PR change current behavior but it gives the user a choice to use a 
physical 1 day (23,24,25 hours maybe) or use a logical 1 day (24 hours exactly, 
this is consistent to current behavior). This change can reduce the ambiguity.
   
   I agree.
   
   > CalendarInterval usually is a constant value and used to shift a column of 
timestamp type. This means we rarely save CalendarInterval as a column of a 
table.
   
   @LinhongLiu Recently, we supported subtractions of timestamps and dates, see 
#26022, #26036, and #26112. I expect more columns of the `INTERVAL` type in 
users tables in the future.

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