MaxGekk commented on issue #25998: [SPARK-29328][SQL] Fix calculation of mean seconds per month URL: https://github.com/apache/spark/pull/25998#issuecomment-538785970 > This doesn't change that, right? This doesn't. > Or have I really missed the point? Here you didn't miss anything but in the PR https://github.com/apache/spark/pull/25981, I need to calculate interval length in `date_part('EPOCH', interval)`. PostgreSQL defines it as _for interval values, the total number of seconds in the interval_ (https://www.postgresql.org/docs/11/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT). And months & year duration will be matter there.
---------------------------------------------------------------- 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]
