File tree Expand file tree Collapse file tree
common/src/main/java/org/opensearch/sql/common/setting
integ-test/src/test/java/org/opensearch/sql/sql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ public enum Key {
6161 SESSION_INACTIVITY_TIMEOUT_MILLIS (
6262 "plugins.query.executionengine.spark.session_inactivity_timeout_millis" ),
6363
64+ SCRIPT_FILTER_MAX_COMPILATIONS_RATE ("script.context.filter.max_compilations_rate" ),
65+
6466 /** Async query Settings * */
6567 ASYNC_QUERY_ENABLED ("plugins.query.executionengine.async_query.enabled" ),
6668 ASYNC_QUERY_EXTERNAL_SCHEDULER_ENABLED (
Original file line number Diff line number Diff line change 1212import java .nio .file .Paths ;
1313import java .util .function .Function ;
1414import org .junit .Test ;
15+ import org .opensearch .sql .common .setting .Settings .Key ;
1516
1617/** SQL integration test automated by comparison test framework. */
1718public class SQLCorrectnessIT extends CorrectnessTestBase {
@@ -23,6 +24,8 @@ public class SQLCorrectnessIT extends CorrectnessTestBase {
2324 @ Override
2425 protected void init () throws Exception {
2526 super .init ();
27+ // Increate compilation rate since this test include large volume of scripts
28+ updateClusterSetting (Key .SCRIPT_FILTER_MAX_COMPILATIONS_RATE .getKeyValue (), "100/1m" );
2629 }
2730
2831 @ Test
You can’t perform that action at this time.
0 commit comments