Skip to content

Commit 7dbcd89

Browse files
authored
ES|QL: Fix a minor issue in the bucket.csv-spec (#132279)
Fix an ES|QL test query.
1 parent 23066a3 commit 7dbcd89

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/bucket.csv-spec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,13 @@ median_duration:double | bucket:date
286286

287287
bucketByTimeDuration#[skip:-8.13.99, reason:BUCKET extended in 8.14]
288288
FROM sample_data
289-
| STATS min = MAX(@timestamp), max = MAX(@timestamp) BY bucket = BUCKET(@timestamp, 30 minutes)
289+
| STATS min = MIN(@timestamp), max = MAX(@timestamp) BY bucket = BUCKET(@timestamp, 30 minutes)
290290
| SORT min
291291
;
292292

293-
min:date | max:date | bucket:date
294-
2023-10-23T12:27:28.948Z|2023-10-23T12:27:28.948Z|2023-10-23T12:00:00.000Z
295-
2023-10-23T13:55:01.543Z|2023-10-23T13:55:01.543Z|2023-10-23T13:30:00.000Z
296-
293+
min:datetime | max:datetime | bucket:datetime
294+
2023-10-23T12:15:03.360Z | 2023-10-23T12:27:28.948Z | 2023-10-23T12:00:00.000Z
295+
2023-10-23T13:33:34.937Z | 2023-10-23T13:55:01.543Z | 2023-10-23T13:30:00.000Z
297296
;
298297

299298
aggByTimeDuratinBucket#[skip:-8.13.99, reason:BUCKET extended in 8.14]

0 commit comments

Comments
 (0)