srowen commented on issue #25998: [SPARK-29328][SQL] Fix calculation of mean seconds per month URL: https://github.com/apache/spark/pull/25998#issuecomment-537951431 My premise is that `months_between` appears to be defined as "the number of 31-day periods between two dates". If that's the definition then it's currently correct. Is that the definition? well, according to Hive, Oracle, IBM, Vertica at least. I believe we want to stick with that definition, then. The only other relevant function is `add_months` but it doesn't quite have this same question about semantics.
---------------------------------------------------------------- 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]
