diff --git a/esql/challenges/default.json b/esql/challenges/default.json index cefc52f25..840812b52 100644 --- a/esql/challenges/default.json +++ b/esql/challenges/default.json @@ -43,21 +43,28 @@ "tags": ["setup"] }, { - "operation": "from_idx_limit_1000", + "operation": "from_idx_limit_1", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, "iterations": 100 }, { - "operation": "from_idx_limit_10000", + "operation": "from_idx_limit_10", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, "iterations": 100 }, { - "operation": "from_idx_limit_1", + "operation": "from_idx_limit_1000", + "tags": ["esql_large_schema"], + "clients": {{query_clients | default(1)}}, + "warmup-iterations": 10, + "iterations": 100 + }, + { + "operation": "from_idx_limit_10000", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, @@ -66,21 +73,28 @@ { - "operation": "from_idx_limit_1000_drop_null", + "operation": "from_idx_limit_1_drop_null", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, "iterations": 100 }, { - "operation": "from_idx_limit_10000_drop_null", + "operation": "from_idx_limit_10_drop_null", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, "iterations": 100 }, { - "operation": "from_idx_limit_1_drop_null", + "operation": "from_idx_limit_1000_drop_null", + "tags": ["esql_large_schema"], + "clients": {{query_clients | default(1)}}, + "warmup-iterations": 10, + "iterations": 100 + }, + { + "operation": "from_idx_limit_10000_drop_null", "tags": ["esql_large_schema"], "clients": {{query_clients | default(1)}}, "warmup-iterations": 10, @@ -95,6 +109,13 @@ "warmup-iterations": 10, "iterations": 100 }, + { + "operation": "search_limit_10", + "tags": ["esql_large_schema"], + "clients": {{query_clients | default(1)}}, + "warmup-iterations": 10, + "iterations": 100 + }, { "operation": "search_limit_1000", "tags": ["esql_large_schema"], diff --git a/esql/operations/default.json b/esql/operations/default.json index cd66b3021..f6f443371 100644 --- a/esql/operations/default.json +++ b/esql/operations/default.json @@ -12,6 +12,16 @@ "ingest-percentage": {{ingest_percentage | default(100)}} }, + { + "name": "from_idx_limit_1", + "operation-type": "esql", + "query": "FROM idx_* | limit 1" + }, + { + "name": "from_idx_limit_10", + "operation-type": "esql", + "query": "FROM idx_* | limit 10" + }, { "name": "from_idx_limit_1000", "operation-type": "esql", @@ -22,32 +32,32 @@ "operation-type": "esql", "query": "FROM idx_* | limit 10000" }, + { - "name": "from_idx_limit_1", + "name": "from_idx_limit_1_drop_null", "operation-type": "esql", - "query": "FROM idx_* | limit 1" + "query": "FROM idx_* | limit 1", + "request-params": { "drop_null_columns": true } }, - { - "name": "from_idx_limit_1000_drop_null", - "operation-type": "esql", - "query": "FROM idx_* | limit 1000", - "request-params": { "drop_null_columns": true } + "name": "from_idx_limit_10_drop_null", + "operation-type": "esql", + "query": "FROM idx_* | limit 10", + "request-params": { "drop_null_columns": true } }, { - "name": "from_idx_limit_10000_drop_null", - "operation-type": "esql", - "query": "FROM idx_* | limit 10000", - "request-params": { "drop_null_columns": true } + "name": "from_idx_limit_1000_drop_null", + "operation-type": "esql", + "query": "FROM idx_* | limit 1000", + "request-params": { "drop_null_columns": true } }, { - "name": "from_idx_limit_1_drop_null", - "operation-type": "esql", - "query": "FROM idx_* | limit 1", - "request-params": { "drop_null_columns": true } + "name": "from_idx_limit_10000_drop_null", + "operation-type": "esql", + "query": "FROM idx_* | limit 10000", + "request-params": { "drop_null_columns": true } }, - { "name": "search_limit_1", "operation-type": "search", @@ -56,6 +66,14 @@ "size": 1 } }, + { + "name": "search_limit_10", + "operation-type": "search", + "index": "idx_*", + "body": { + "size": 10 + } + }, { "name": "search_limit_1000", "operation-type": "search",