// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.

*Parameters*

`field`::
Numeric or date expression from which to derive buckets.

`buckets`::
Target number of buckets, or desired bucket size if `from` and `to` parameters are omitted.

`from`::
Start of the range. Can be a number, a date or a date expressed as a string.

`to`::
End of the range. Can be a number, a date or a date expressed as a string.
