Skip to content

Commit aed63b9

Browse files
authored
[ESQL] make CSV tests for SAMPLE looser (#145791)
1 parent ed89817 commit aed63b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
row
77
required_capability: sample_v3
88

9-
ROW x = 1 | SAMPLE .999999999
9+
ROW x = 1 | SAMPLE .9999999999999999
1010
;
1111

1212
x:integer
@@ -17,7 +17,7 @@ x:integer
1717
row and mv_expand
1818
required_capability: sample_v3
1919

20-
ROW x = [1,2,3,4,5] | MV_EXPAND x | SAMPLE .999999999
20+
ROW x = [1,2,3,4,5] | MV_EXPAND x | SAMPLE .9999999999999999
2121
;
2222

2323
x:integer
@@ -47,26 +47,26 @@ required_capability: sample_v3
4747

4848
FROM employees
4949
| SAMPLE 0.5
50-
| WHERE emp_no > 10050
50+
| WHERE emp_no > 10030
5151
| STATS count = COUNT(), avg_emp_no = AVG(emp_no)
5252
;
5353

5454
count:long | avg_emp_no:double
55-
1..49 | 10051..10100
55+
1..69 | 10031..10100
5656
;
5757

5858

5959
after where
6060
required_capability: sample_v3
6161

6262
FROM employees
63-
| WHERE emp_no <= 10050
63+
| WHERE emp_no <= 10070
6464
| SAMPLE 0.5
6565
| STATS count = COUNT(), avg_emp_no = AVG(emp_no)
6666
;
6767

6868
count:long | avg_emp_no:double
69-
1..49 | 10001..10050
69+
1..69 | 10001..10070
7070
;
7171

7272

0 commit comments

Comments
 (0)