File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
integ-test/src/test/java/org/opensearch/sql/calcite/standalone Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2626import org .apache .calcite .tools .RelBuilder ;
2727import org .junit .jupiter .api .Test ;
2828import org .opensearch .sql .calcite .CalcitePlanContext ;
29+ import org .opensearch .sql .calcite .SysLimit ;
2930import org .opensearch .sql .calcite .utils .CalciteToolsHelper .OpenSearchRelRunners ;
30- import org .opensearch .sql .common .setting .Settings ;
3131import org .opensearch .sql .executor .QueryType ;
3232import org .opensearch .sql .expression .function .BuiltinFunctionName ;
3333import 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}
You can’t perform that action at this time.
0 commit comments