File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
qa/testFixtures/src/main/resources
src/main/java/org/elasticsearch/xpack/esql/action Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 66// because the CSV tests don't support such assertions.
77
88approximate stats on large data
9+ required_capability: approximate
910approximate: true
1011
1112FROM many_numbers
2425
2526
2627exact stats on small data
28+ required_capability: approximate
2729approximate: true
2830
2931FROM many_numbers
@@ -37,6 +39,7 @@ count:long | avg:double | sum:long | min:integer | max:integer
3739
3840
3941with where
42+ required_capability: approximate
4043approximate: true
4144
4245FROM many_numbers
5659
5760
5861with sample
62+ required_capability: approximate
5963approximate: true
6064
6165FROM many_numbers
7579
7680
7781with commands inbetween
82+ required_capability: approximate
7883approximate: true
7984
8085FROM many_numbers
101106
102107
103108with commands after
109+ required_capability: approximate
104110approximate: true
105111
106112FROM many_numbers
123129
124130
125131approximate stats by on large data
132+ required_capability: approximate
126133approximate: true
127134
128135FROM many_numbers
@@ -143,6 +150,7 @@ num:integer | is_expected:boolean
143150
144151
145152exact stats by on small data
153+ required_capability: approximate
146154approximate: true
147155
148156FROM many_numbers
Original file line number Diff line number Diff line change @@ -1335,7 +1335,12 @@ public enum Cap {
13351335 /**
13361336 * Support correct counting of skipped shards.
13371337 */
1338- CORRECT_SKIPPED_SHARDS_COUNT ;
1338+ CORRECT_SKIPPED_SHARDS_COUNT ,
1339+
1340+ /**
1341+ * Support query approximation.
1342+ */
1343+ APPROXIMATE ;
13391344
13401345 private final boolean enabled ;
13411346
You can’t perform that action at this time.
0 commit comments