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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to