@@ -436,17 +436,17 @@ public void testStatsPercentileWithNull() throws IOException {
436436 public void testStatsPercentileWithCompression () throws IOException {
437437 JSONObject response =
438438 executeQuery (
439- String .format ("source=%s | stats percentile(balance, 50, 1 )" , TEST_INDEX_BANK ));
440- verifySchema (response , schema ("percentile(balance, 50, 1 )" , null , "bigint" ));
441- verifyDataRows (response , rows (29493 ));
439+ String .format ("source=%s | stats percentile(balance, 50, 20 )" , TEST_INDEX_BANK ));
440+ verifySchema (response , schema ("percentile(balance, 50, 20 )" , null , "bigint" ));
441+ verifyDataRows (response , rows (32838 ));
442442
443443 // disable pushdown by adding a eval command
444444 JSONObject responsePushdownDisabled =
445445 executeQuery (
446446 String .format (
447- "source=%s | eval a = 1 | stats percentile(balance, 50, 1 )" , TEST_INDEX_BANK ));
448- verifySchema (responsePushdownDisabled , schema ("percentile(balance, 50, 1 )" , null , "bigint" ));
449- verifyDataRows (responsePushdownDisabled , rows (29493 ));
447+ "source=%s | eval a = 1 | stats percentile(balance, 50, 20 )" , TEST_INDEX_BANK ));
448+ verifySchema (responsePushdownDisabled , schema ("percentile(balance, 50, 20 )" , null , "bigint" ));
449+ verifyDataRows (responsePushdownDisabled , rows (32838 ));
450450 }
451451
452452 @ Test
0 commit comments