srowen commented on issue #25981: [SPARK-28420][SQL] Support the `INTERVAL` type in `date_part()` URL: https://github.com/apache/spark/pull/25981#issuecomment-540064132 OK if these things are true, I think this is reasonable: - This method exists (only?) in PostgreSQL and we're trying to match its semantics on purpose, here and elsewhere in Spark - It matches PostgreSQL behavior - It matches Spark timestamp behavior I wouldn't mind a thought from @cloud-fan
---------------------------------------------------------------- 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]
