OpenSearch/x-pack/plugin/ml
Zachary Tong 7e62ff2823 [Rollup] Validate timezones based on rules not string comparision (#36237)
The date_histogram internally converts obsolete timezones (such as
"Canada/Mountain") into their modern equivalent ("America/Edmonton").
But rollup just stored the TZ as provided by the user.

When checking the TZ for query validation we used a string comparison,
which would fail due to the date_histo's upgrading behavior.

Instead, we should convert both to a TimeZone object and check if their
rules are compatible.
2019-04-17 13:46:44 -04:00
..
cpp-snapshot Add cache cleaning task for ML snapshot (#37505) 2019-01-19 16:16:58 -08:00
licenses [ML] Rename log structure to file structure (#33421) 2018-09-06 09:13:08 +01:00
qa [ML] Add validation that rejects duplicate detectors in PutJobAction (#40967) (#41072) 2019-04-10 15:43:35 +02:00
src [Rollup] Validate timezones based on rules not string comparision (#36237) 2019-04-17 13:46:44 -04:00
build.gradle [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00