cloud-fan commented on issue #25022: [SPARK-24695][SQL] Move `CalendarInterval` 
to org.apache.spark.sql.types package
URL: https://github.com/apache/spark/pull/25022#issuecomment-533157442
 
 
   > If you have a local timestamp like 2019-09-19 10:00:00 and want to add 2 
months to it, year-month interval would be easier to use but you can reach the 
same result with day-time interval.
   
   I don't think so. To reach the same result you have to look at the timestamp 
and calculate how many days to add to reach to the next 2 months.

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