Skip to content

Commit 01e00e5

Browse files
committed
remove some tests with too small data set causing rounding issues
1 parent 356dec3 commit 01e00e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3300,6 +3300,7 @@ VARIANCE_POPULATION(languages):double
33003300
variancePopulationGroupedDoublesOnly
33013301
required_capability: std_dev_variations
33023302
FROM employees
3303+
| WHERE languages > 0
33033304
| STATS VARIANCE_POPULATION(height) BY languages
33043305
| SORT languages asc
33053306
;
@@ -3310,7 +3311,6 @@ VARIANCE_POPULATION(height):double | languages:integer
33103311
0.03569480968858131 | 3
33113312
0.02148024691358024 | 4
33123313
0.03144897959183674 | 5
3313-
0.061829 | null
33143314
;
33153315

33163316
variancePopulationGroupedAllTypes
@@ -3354,6 +3354,7 @@ VARIANCE_POPULATION(salary_change):double
33543354
variancePopulationFilter
33553355
required_capability: std_dev_variations
33563356
FROM employees
3357+
| WHERE gender == "M" OR gender == "F"
33573358
| STATS greater_than = VARIANCE_POPULATION(salary_change) WHERE languages > 3
33583359
, less_than = VARIANCE_POPULATION(salary_change) WHERE languages <= 3
33593360
, salary = VARIANCE_POPULATION(salary * 2)
@@ -3364,7 +3365,6 @@ FROM employees
33643365
greater_than:double | less_than:double | salary:double | count:long | gender:keyword
33653366
41.6583330898466 | 57.42408172635445 | 8.436567936382E8 | 33 | F
33663367
48.65386611177169 | 43.62347650520595 | 6.849385720504771E8 | 57 | M
3367-
48.291479289940824 | 50.7974 | 7.795945674E8 | 10 | null
33683368
;
33693369

33703370
variancePopulationRow
@@ -3494,6 +3494,7 @@ VARIANCE_SAMPLE(salary_change):double
34943494
varianceSampleFilter
34953495
required_capability: std_dev_variations
34963496
FROM employees
3497+
| WHERE gender == "M" OR gender == "F"
34973498
| STATS greater_than = VARIANCE_SAMPLE(salary_change) WHERE languages > 3
34983499
, less_than = VARIANCE_SAMPLE(salary_change) WHERE languages <= 3
34993500
, salary = VARIANCE_SAMPLE(salary * 2)
@@ -3504,7 +3505,6 @@ FROM employees
35043505
greater_than:double | less_than:double | salary:double | count:long | gender:keyword
35053506
42.815509009009006 | 59.21858428030303 | 8.700210684393938E8 | 33 | F
35063507
50.391504187192105 | 44.5718129509713 | 6.9716961797995E8 | 57 | M
3507-
52.31576923076923 | 57.147075 | 8.66216186E8 | 10 | null
35083508
;
35093509

35103510
varianceSampleRow

0 commit comments

Comments
 (0)