You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/06/08 05:54:07 UTC

[GitHub] [spark] sathyaprakashg edited a comment on pull request #28703: SPARK-29897 Add implicit cast for SubtractTimestamps

sathyaprakashg edited a comment on pull request #28703:
URL: https://github.com/apache/spark/pull/28703#issuecomment-640384737


   @bart-samwel  If you are referring to two test new statements i added, both are actually having timestamp in both left and right expression and returns interval. So, we have only one type, which is 
   `timestamp - timestamp returns interval`
   In the SubtractTimestamps case class we can see input date types for both left and right expressions are timestamp
   `override def inputTypes: Seq[AbstractDataType] = Seq(TimestampType, TimestampType)`


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org