MaxGekk commented on issue #25998: [SPARK-29328][SQL] Fix calculation of mean 
seconds per month
URL: https://github.com/apache/spark/pull/25998#issuecomment-537804330
 
 
   > Compare with the other DBMS for that queries (especially Hive).
   
   I can compare only `months_between` because there are no streaming related 
functionality in Hive. Hive assumes 31 days per months as well that we can see 
in its code: 
   
https://github.com/apache/hive/blob/287e5d5e4c43beb2bc84a80e342f897494e32c6c/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFMonthsBetween.java#L143-L145
   

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