Please extend the API to include a new scalar function WIDTH_BUCKET.
WIDTH_BUCKET receives 4 arguments: operand, bound1, bound2 and bucket_count and assigns operand to a corresponding bucket. operand, bound1 and bound2 must be numeric, bucket_count must be exact numeric with scale = 0.
Please extend the API to include a new scalar function
WIDTH_BUCKET
.WIDTH_BUCKET
receives 4 arguments:operand
,bound1
,bound2
andbucket_count
and assignsoperand
to a corresponding bucket.operand
,bound1
andbound2
must be numeric,bucket_count
must be exact numeric with scale = 0.Examples
New capabilites
FN_WIDTH_BUCKET