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 6
6
// because the CSV tests don't support such assertions.
7
7
8
8
approximate stats on large data
9
+ required_capability: approximate
9
10
approximate: true
10
11
11
12
FROM many_numbers
24
25
25
26
26
27
exact stats on small data
28
+ required_capability: approximate
27
29
approximate: true
28
30
29
31
FROM many_numbers
@@ -37,6 +39,7 @@ count:long | avg:double | sum:long | min:integer | max:integer
37
39
38
40
39
41
with where
42
+ required_capability: approximate
40
43
approximate: true
41
44
42
45
FROM many_numbers
56
59
57
60
58
61
with sample
62
+ required_capability: approximate
59
63
approximate: true
60
64
61
65
FROM many_numbers
75
79
76
80
77
81
with commands inbetween
82
+ required_capability: approximate
78
83
approximate: true
79
84
80
85
FROM many_numbers
101
106
102
107
103
108
with commands after
109
+ required_capability: approximate
104
110
approximate: true
105
111
106
112
FROM many_numbers
123
129
124
130
125
131
approximate stats by on large data
132
+ required_capability: approximate
126
133
approximate: true
127
134
128
135
FROM many_numbers
@@ -143,6 +150,7 @@ num:integer | is_expected:boolean
143
150
144
151
145
152
exact stats by on small data
153
+ required_capability: approximate
146
154
approximate: true
147
155
148
156
FROM many_numbers
Original file line number Diff line number Diff line change @@ -1389,7 +1389,12 @@ public enum Cap {
1389
1389
/**
1390
1390
* Support for vector Hamming distance.
1391
1391
*/
1392
- HAMMING_VECTOR_SIMILARITY_FUNCTION (Build .current ().isSnapshot ());
1392
+ HAMMING_VECTOR_SIMILARITY_FUNCTION (Build .current ().isSnapshot ()),
1393
+
1394
+ /**
1395
+ * Support query approximation.
1396
+ */
1397
+ APPROXIMATE ;
1393
1398
1394
1399
private final boolean enabled ;
1395
1400
You can’t perform that action at this time.
0 commit comments