OpenSearch/x-pack/plugin/sql
Igor Motov 2f47e3d05a SQL: values in datetime script aggs should be treated as long (#39773)
When a query is translated into script terms agg where key has a date
type, it should generate a terms agg with value_type long instead of
date, otherwise the key gets formatted as a string, which confuses
hit extractor.

Fixes #37042
2019-03-11 17:41:12 -04:00
..
jdbc SQL: introduce the columnar option for REST requests (#39287) 2019-02-27 09:37:28 +02:00
qa SQL: values in datetime script aggs should be treated as long (#39773) 2019-03-11 17:41:12 -04:00
sql-action Upgrade to lucene 8.0.0-snapshot-ff9509a8df (#39444) 2019-02-27 14:36:08 +00:00
sql-cli SQL: Return Intervals in SQL format for CLI (#37602) 2019-01-22 14:55:28 +02:00
sql-client SQL: introduce the columnar option for REST requests (#39287) 2019-02-27 09:37:28 +02:00
sql-proto SQL: introduce the columnar option for REST requests (#39287) 2019-02-27 09:37:28 +02:00
src SQL: values in datetime script aggs should be treated as long (#39773) 2019-03-11 17:41:12 -04:00
build.gradle SQL: [Tests] Fix and enable internalClusterTests (#37300) 2019-01-11 22:43:17 +02:00