File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
test/framework/src/main/java/org/elasticsearch/test
x-pack/plugin/esql/qa/testFixtures/src/main/resources Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1111
1212import org .elasticsearch .common .time .DateFormatter ;
1313import org .elasticsearch .common .time .DateUtils ;
14+ import org .hamcrest .Description ;
1415import org .hamcrest .TypeSafeMatcher ;
1516
1617import java .time .Instant ;
@@ -51,12 +52,12 @@ public boolean matchesSafely(Long item) {
5152 }
5253
5354 @ Override
54- public void describeMismatchSafely (Long item , org . hamcrest . Description description ) {
55+ public void describeMismatchSafely (Long item , Description description ) {
5556 description .appendText ("was " ).appendValue (dateFormatter .formatMillis (item ));
5657 }
5758
5859 @ Override
59- public void describeTo (org . hamcrest . Description description ) {
60+ public void describeTo (Description description ) {
6061 description .appendText (dateFormatter .formatMillis (timeMillis ));
6162 }
6263 }
@@ -74,12 +75,12 @@ public boolean matchesSafely(Long item) {
7475 }
7576
7677 @ Override
77- public void describeMismatchSafely (Long item , org . hamcrest . Description description ) {
78+ public void describeMismatchSafely (Long item , Description description ) {
7879 description .appendText ("was " ).appendValue (dateFormatter .formatNanos (item ));
7980 }
8081
8182 @ Override
82- public void describeTo (org . hamcrest . Description description ) {
83+ public void describeTo (Description description ) {
8384 description .appendText (dateFormatter .formatNanos (timeNanos ));
8485 }
8586 }
Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ FROM employees
10001000| LIMIT 5
10011001;
10021002
1003- hire_date:date | bucketHours:date | bucketDay:date
1003+ hire_date:date | bucketHours:date | bucketDay:date
100410041985-02-18T00:00:00.000Z | 1985-02-17T22:00:00.000Z | 1985-02-17T19:00:00.000Z
100510051985-02-24T00:00:00.000Z | 1985-02-23T22:00:00.000Z | 1985-02-23T19:00:00.000Z
100610061985-05-13T00:00:00.000Z | 1985-05-12T22:00:00.000Z | 1985-05-12T19:00:00.000Z
You can’t perform that action at this time.
0 commit comments