Obbay2 commented on PR #35709:
URL: https://github.com/apache/spark/pull/35709#issuecomment-1373983402

   @MaxGekk How can this be reconciled with the fact that the `datediff` 
function already exists in Spark SQL since 1.5.0? The order of the parameters 
are also different such that older `datediff` function is endDate followed by 
startDate.
   
   
https://github.com/MaxGekk/spark/blob/6a8b74a02cb8f5bfac0cbcf45f3aada0ad6f2614/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L2314
   
   


-- 
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]

Reply via email to