OpenSearch/x-pack/qa
Zachary Tong d93b2a2e9a
[Rollup] Only allow aggregating on multiples of configured interval (#32052)
We need to limit the search request aggregations to whole multiples
of the configured interval for both histogram and date_histogram.
Otherwise, agg buckets won't overlap with the rolled up buckets
and the results will be incorrect.

For histogram, the validation is very simple: request must be >= the config,
and modulo evenly.

Dates are more tricky.
- If both request and config are fixed dates, we can convert to millis
and treat them just like the histo
- If both are calendar, we make sure the request is >= the config with
a static lookup map that ranks the calendar values relatively.  All
calendar units are "singles", so they are evenly divisible already
- We disallow any other combination (one fixed, one calendar, etc)
2018-08-29 17:10:00 -04:00
..
audit-tests Switch some x-pack tests to new style Requests (#32500) 2018-08-21 14:48:53 -04:00
core-rest-tests-with-security Rename ranking evaluation `quality_level` to `metric_score` (#32168) 2018-07-23 22:25:02 +02:00
evil-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
full-cluster-restart Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
kerberos-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
ml-native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration Move ML tests to be sub-projects of ML (#33026) 2018-08-21 12:23:21 -04:00
multi-cluster-search-security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
multi-node [Rollup] Only allow aggregating on multiples of configured interval (#32052) 2018-08-29 17:10:00 -04:00
openldap-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
reindex-tests-with-security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
rolling-upgrade Token API supports the client_credentials grant (#33106) 2018-08-27 10:56:21 -06:00
rolling-upgrade-basic Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
saml-idp-tests Switch remaining x-pack tests to new style Requests (#33108) 2018-08-24 16:39:08 -04:00
security-client-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
security-example-spi-extension Remove unused User class from protocol (#33137) 2018-08-28 08:55:29 -06:00
security-migrate-tests Remove unused User class from protocol (#33137) 2018-08-28 08:55:29 -06:00
security-setup-password-tests APM server monitoring (#32515) 2018-08-27 08:42:40 -04:00
security-tools-tests Remove BouncyCastle dependency from runtime (#32193) 2018-07-21 00:03:58 +03:00
smoke-test-graph-with-security Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-monitoring-with-watcher Switch some watcher tests to new style Requests (#33044) 2018-08-22 14:02:39 -04:00
smoke-test-plugins Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-plugins-ssl Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-security-with-mustache Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
smoke-test-watcher Switch some watcher tests to new style Requests (#33044) 2018-08-22 14:02:39 -04:00
smoke-test-watcher-with-security Switch some watcher tests to new style Requests (#33044) 2018-08-22 14:02:39 -04:00
sql SQL: Enable aggregations to create a separate bucket for missing values (#32832) 2018-08-27 17:56:28 +03:00
third-party Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
transport-client-tests Build: Rework shadow plugin configuration (#32409) 2018-08-21 20:03:28 -04:00
vagrant Packaging: Remove windows bin files from the tar distribution (#30596) 2018-06-18 19:02:51 +02:00
build.gradle Fix unknown licenses (#31223) 2018-06-09 07:28:41 -04:00