MaxGekk edited a comment on issue #25998: [SPARK-29328][SQL] Fix calculation of mean seconds per month URL: https://github.com/apache/spark/pull/25998#issuecomment-537815031 What is more important for us - consistency across of Spark API or consistency with other DBMS? I mean if we have 31 days per months or 372 days per year in `months_between`, 365.25 days per year in `date_part('epoch', ...)` (https://github.com/apache/spark/pull/25981/files#diff-eba257f41b49f470321579875f054f00R85-R89), and 365.2425 days per year in other places, we may have different results using different Spark API.
---------------------------------------------------------------- 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]
