Skip to content

Commit ef26119

Browse files
committed
fix IT
Signed-off-by: Lantao Jin <ltjin@amazon.com>
1 parent 3649cc8 commit ef26119

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

integ-test/src/test/java/org/opensearch/sql/ppl/StatsCommandIT.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)