You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ML] Make datafeeds work with nanosecond time fields (#51180)
Allows ML datafeeds to work with time fields that have
the "date_nanos" type _and make use of the extra precision_.
(Previously datafeeds only worked with time fields that were
exact multiples of milliseconds. So datafeeds would work
with "date_nanos" only if the extra precision over "date" was
not used.)
Relates #49889
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/qa/basic-multi-node/src/test/java/org/elasticsearch/xpack/ml/integration/MlBasicMultiNodeIT.java
+11-6
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
importorg.yaml.snakeyaml.util.UriEncoder;
18
18
19
19
importjava.io.IOException;
20
+
importjava.io.UncheckedIOException;
20
21
importjava.util.Collections;
21
22
importjava.util.List;
22
23
importjava.util.Map;
@@ -36,7 +37,7 @@ public void testMachineLearningInstalled() throws Exception {
36
37
assertTrue((Boolean) ml.get("enabled"));
37
38
}
38
39
39
-
publicvoidtestInvalidJob() throwsException{
40
+
publicvoidtestInvalidJob() {
40
41
// The job name is invalid because it contains a space
Copy file name to clipboardExpand all lines: x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/datafeed/extractor/scroll/TimeBasedExtractedFields.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ public static TimeBasedExtractedFields build(Job job, DatafeedConfig datafeed, F
0 commit comments