MaxGekk commented on issue #25998: [SPARK-29328][SQL] Fix calculation of mean 
seconds per month
URL: https://github.com/apache/spark/pull/25998#issuecomment-537977342
 
 
   > If that's also what other mainstream databases do.
   
   PostgreSQL has global constant: 
   
https://github.com/postgres/postgres/blob/97c39498e5ca9208d3de5a443a2282923619bf91/src/include/datatype/timestamp.h#L68
 . I don't think they have this so much brave assumption about 12 * 31 = 372 
days per year in other places.

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