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-53107][SQL] Implement the time_trunc function in Scala
### What changes were proposed in this pull request?
Implement the `time_trunc` function in Scala API.
### Why are the changes needed?
Expand API support for the `TimeTrunc` expression.
### Does this PR introduce _any_ user-facing change?
Yes, the new function is now available in Scala API.
### How was this patch tested?
Added appropriate Scala function tests.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#51823 from uros-db/scala-time_trunc.
Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments