OpenSearch/docs/reference/sql/language
Costin Leau 6ee6bb55e2
SQL: Introduce HISTOGRAM grouping function (#36510)
Introduce Histogram grouping function for bucketing/grouping data based
 on a given range. Both date and numeric histograms are supported using
 the appropriate range declaration (numbers vs intervals).

SELECT HISTOGRAM(number, 50) AS h FROM index GROUP BY h
SELECT HISTOGRAM(date, INTERVAL 1 YEAR) AS h FROM index GROUP BY h

In addition add multiply operator for Intervals
Add docs for intervals and histogram

Fix #36509
2018-12-14 18:20:37 +02:00
..
syntax SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
data-types.asciidoc SQL: Introduce HISTOGRAM grouping function (#36510) 2018-12-14 18:20:37 +02:00
index-patterns.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
index.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00