@@ -276,11 +276,11 @@ required_capability: knn_function
276276
277277from colors
278278| where length(color) < 10
279- | stats c = count(*) where knn(rgb_vector, [128,128,255], {"k": 40 })
279+ | stats c = count(*) where knn(rgb_vector, [128,128,255], {"k": 140 })
280280;
281281
282282c: long
283- 11
283+ 59
284284;
285285
286286
@@ -289,22 +289,22 @@ required_capability: knn_function
289289required_capability: full_text_functions_in_stats_where
290290
291291from colors metadata _score
292- | stats c = count(*) where (knn(rgb_vector, [0,255,255], {"k": 40 }) or knn(rgb_vector, [0, 0, 255])) and knn(rgb_vector, [0, 255, 0], {"k": 40})
292+ | stats c = count(*) where (knn(rgb_vector, [0,255,255], {"k": 140 }) or knn(rgb_vector, [0, 0, 255])) and knn(rgb_vector, [0, 255, 0], {"k": 40})
293293;
294294
295295c:long
296- 21
296+ 40
297297;
298298
299299testKnnInStatsWithGrouping
300300from colors
301301| where length(color) < 10
302- | stats c = count(*) where knn(rgb_vector, [128,128,255], {"k": 40 }) by primary
302+ | stats c = count(*) where knn(rgb_vector, [128,128,255], {"k": 140 }) by primary
303303;
304304
305305c: long | primary: boolean
306- 9 | false
307- 2 | true
306+ 50 | false
307+ 9 | true
308308;
309309
310310testKnnInStatsPushable
@@ -319,16 +319,3 @@ from colors
319319c:long
32032040
321321;
322-
323- testKnnInStatsWithNonPushableDisjunctions
324- required_capability: knn_function
325- required_capability: full_text_functions_in_stats_where
326-
327- FROM colors
328- | STATS c = count(*) where knn(rgb_vector, [128,128,0], {"k": 5}) or length(color) > 17
329- ;
330-
331- c:long
332- 8
333- ;
334-
0 commit comments