OpenSearch/docs/reference/sql/functions
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
..
aggs.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
conditional.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
date-time.asciidoc SQL: Introduce HISTOGRAM grouping function (#36510) 2018-12-14 18:20:37 +02:00
grouping.asciidoc SQL: Introduce HISTOGRAM grouping function (#36510) 2018-12-14 18:20:37 +02:00
index.asciidoc SQL: Introduce HISTOGRAM grouping function (#36510) 2018-12-14 18:20:37 +02:00
math.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
operators.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
search.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
string.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
system.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00
type-conversion.asciidoc SQL: [docs] Add `beta[]` markup to all SQL pages (#36471) 2018-12-11 13:25:29 +02:00