MaxGekk commented on code in PR #56969: URL: https://github.com/apache/spark/pull/56969#discussion_r3519253387
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala: ########## Review Comment: The nanosOfMicros parts shouldn't impact on the result. Let's reuse the existing functions (don't introduce new one) and just extract the microseconds part from `TimestampNanosVal` and pass it to `monthsBetween()`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
