You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Subsecond units (``us``, ``ms``, ``cs``, ``ds``) are case-sensitive and must be lowercase
92
+
93
+
.. note::
94
+
95
+
The ``bin`` command implements time binning using **Calcite**, which provides full control over the binning logic. This allows it to support **subsecond units** (us, ms, cs, ds) that are not available in the ``stats`` command, which relies on OpenSearch's calendar intervals.
The ``stats`` command uses **OpenSearch calendar intervals** for time-based aggregations. **Subsecond units** (us, cs, ds) are **not supported** by the stats command due to OpenSearch limitations.
94
+
95
+
If you need subsecond precision for time binning, use the ``bin`` command instead, which implements time binning using Calcite and supports all time units including subsecond precision.
96
+
87
97
Configuration
88
98
=============
89
99
Some aggregation functions require Calcite to be enabled for proper functionality. To enable Calcite, use the following command:
0 commit comments