Peng-Lei opened a new pull request #34309:
URL: https://github.com/apache/spark/pull/34309


   ### What changes were proposed in this pull request?
   Add support DayTimeIntervalType for width_bucket function.
   
   ### Why are the changes needed?
   [SPARK-35925](https://issues.apache.org/jira/browse/SPARK-35925)
   1. The `WIDTH_BUCKET` function assigns values to buckets (individual 
segments) in an equiwidth histogram.
   2. DayTimeIntervalType is necessary as an input data type for `WIDTH_BUCKET`
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. The user can use `width_bucket` with DayTimeIntervalType.
   
   ### How was this patch tested?
   Add ut test
   


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