You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-51555][SQL][FOLLOWUP] Fix the error message for invalid unit in the time_diff() function
### What changes were proposed in this pull request?
Following up on the original PR that introduces the `time_diff` function (apache#51715), this PR fixes the error message to include the correct SQL function name.
### Why are the changes needed?
Fix error messages for the `time_diff` function.
### Does this PR introduce _any_ user-facing change?
Changes the error message for the new SQL function.
### How was this patch tested?
Updated relevant scala tests and golden files.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#51777 from uros-db/time_diff_FOLLOWUP.
Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments