MaxGekk commented on issue #25998: [SPARK-29328][SQL] Fix calculation of mean seconds per month URL: https://github.com/apache/spark/pull/25998#issuecomment-538783655 > ... mostly on the grounds that it will almost never matter. If we would have this, we could calculate duration of any interval, and make the `INTERVAL` type comparable as [PostgreSQL has](https://github.com/postgres/postgres/blob/master/src/test/regress/sql/interval.sql#L39-L55): ```sql maxim=# select interval '1 month 1 microsecond' > interval '1 month'; ?column? ---------- t (1 row) ``` I even don't speak about this PR https://github.com/apache/spark/pull/25981 which is blocked by this somehow.
---------------------------------------------------------------- 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]
