zhengruifeng opened a new pull request, #46576:
URL: https://github.com/apache/spark/pull/46576

   ### What changes were proposed in this pull request?
   Add function `timestamp_diff`, by reusing existing proto 
   
https://github.com/apache/spark/blob/c4df12cc884cddefcfcf8324b4d7b9349fb4f6a0/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala#L1971-L1974
   
   
   ### Why are the changes needed?
   this method is missing in dataframe API due to it is not in 
`FunctionRegistry`
   
   
   ### Does this PR introduce _any_ user-facing change?
   yes, new method
   
   
   ### How was this patch tested?
   added tests
   
   ### Was this patch authored or co-authored using generative AI tooling?
   no
   


-- 
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: reviews-unsubscr...@spark.apache.org

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

Reply via email to