Skip to content

Commit 1e62fba

Browse files
authored
Fix JsonExtractAllFunctionIT failure (#4556)
Signed-off-by: Tomoyuki Morita <[email protected]>
1 parent 02ee33e commit 1e62fba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

integ-test/src/test/java/org/opensearch/sql/calcite/standalone/JsonExtractAllFunctionIT.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import org.apache.calcite.tools.RelBuilder;
2727
import org.junit.jupiter.api.Test;
2828
import org.opensearch.sql.calcite.CalcitePlanContext;
29+
import org.opensearch.sql.calcite.SysLimit;
2930
import org.opensearch.sql.calcite.utils.CalciteToolsHelper.OpenSearchRelRunners;
30-
import org.opensearch.sql.common.setting.Settings;
3131
import org.opensearch.sql.executor.QueryType;
3232
import org.opensearch.sql.expression.function.BuiltinFunctionName;
3333
import org.opensearch.sql.expression.function.PPLFuncImpTable;
@@ -365,8 +365,6 @@ private CalcitePlanContext createCalcitePlanContext() {
365365

366366
config.context(Contexts.of(RelBuilder.Config.DEFAULT));
367367

368-
Settings settings = getSettings();
369-
return CalcitePlanContext.create(
370-
config.build(), settings.getSettingValue(Settings.Key.QUERY_SIZE_LIMIT), QueryType.PPL);
368+
return CalcitePlanContext.create(config.build(), SysLimit.DEFAULT, QueryType.PPL);
371369
}
372370
}

0 commit comments

Comments
 (0)