MaxGekk commented on a change in pull request #32262: URL: https://github.com/apache/spark/pull/32262#discussion_r617313890
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala ########## @@ -2556,6 +2556,9 @@ case class SubtractTimestamps( s"new org.apache.spark.unsafe.types.CalendarInterval(0, 0, $end - $start)") } + override def toString: String = s"($left - $right)" + override def sql: String = s"(${left.sql} - ${right.sql})" Review comment: Here is the PR https://github.com/apache/spark/pull/32267. Please, review it. -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org