vranes commented on code in PR #55535:
URL: https://github.com/apache/spark/pull/55535#discussion_r3163477905


##########
sql/api/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -8486,6 +8486,38 @@ object functions {
   def timestamp_add(unit: String, quantity: Column, ts: Column): Column =
     Column.internalFn("timestampadd", lit(unit), quantity, ts)
 
+  /**
+   * Returns the start of the fixed-size bucket of `bucketSize` that contains 
`ts`, with buckets
+   * aligned to the default origin (1970-01-01 00:00:00). For `TIMESTAMP_NTZ`, 
bucketing is
+   * performed in UTC. For `TIMESTAMP`, buckets align to the session time zone.

Review Comment:
   Fixed to match others, thanks!



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