Apache Presto width_bucket(x,bound1,bound2,n) - Apache Presto

What is Apache presto width_bucket(x,bound1,bound2,n)?

Query

Result

From the above input, 3 and 4 are different bounds and returns the bucket width as 6.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Apache Presto Topics