OpenSearch/x-pack/plugin
Marios Trivyzas 4710a7472f
SQL: Implement FIRST/LAST aggregate functions (#37936)
FIRST and LAST can be used with one argument and work similarly to MIN
and MAX but they are implemented using a Top Hits aggregation and
therefore can also operate on keyword fields. When a second argument is
provided then they return the first/last value of the first arg when its
values are ordered ascending/descending (respectively) by the values of
the second argument. Currently because of the usage of a Top Hits
aggregation FIRST and LAST cannot be used in the HAVING clause of a
GROUP BY query to filter on the results of the aggregation.

Closes: #35639
2019-01-31 16:33:05 +02:00
..
ccr Correct arg names when update mapping/settings from leader (#38063) 2019-01-31 02:45:42 -05:00
core Speed up converting of temporal accessor to zoned date time (#37915) 2019-01-31 08:55:40 +01:00
deprecation [ML] Datafeed deprecation checks (#38026) 2019-01-30 20:12:20 +00:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
ilm Skip Shrink when numberOfShards not changed (#37953) 2019-01-30 15:09:17 -08:00
logstash Rename confusing variable holding name of Logstash index template (#36840) 2018-12-19 12:09:37 -07:00
ml ML: Add reason field in JobTaskState (#38029) 2019-01-30 11:56:24 -06:00
monitoring Expose retention leases in shard stats (#37991) 2019-01-30 13:20:40 -05:00
rollup Switch mapping/aggregations over to java time (#36363) 2019-01-23 10:40:05 +01:00
security Update httpclient for JDK 11 TLS engine (#37994) 2019-01-30 14:24:29 -07:00
sql SQL: Implement FIRST/LAST aggregate functions (#37936) 2019-01-31 16:33:05 +02:00
src/test Move watcher to use seq# and primary term for concurrency control (#37977) 2019-01-30 20:14:59 -05:00
upgrade Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
watcher Move watcher to use seq# and primary term for concurrency control (#37977) 2019-01-30 20:14:59 -05:00
build.gradle Simplify integ test distribution types (#37618) 2019-01-21 12:37:17 -08:00