diff --git a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeRestTest.java b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeRestTest.java index b209381255aef..fde943f1a5116 100644 --- a/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeRestTest.java +++ b/x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/GenerativeRestTest.java @@ -95,14 +95,11 @@ public abstract class GenerativeRestTest extends ESRestTestCase implements Query "long overflow", // https://github.com/elastic/elasticsearch/issues/135759 "can't find input for", // https://github.com/elastic/elasticsearch/issues/136596 "optimized incorrectly due to missing references", // https://github.com/elastic/elasticsearch/issues/138231 + // https://github.com/elastic/elasticsearch/issues/142537 for null arguments in clamp() function "'field' must not be null in clamp\\(\\)", // clamp/clamp_min/clamp_max reject NULL field from unmapped fields "must be \\[boolean, date, ip, string or numeric except unsigned_long or counter types\\]", // type mismatch in top() arguments - "unsupported logical plan node \\[Join\\]", // https://github.com/elastic/elasticsearch/issues/141978 - "Unsupported right plan for lookup join \\[Eval\\]", // https://github.com/elastic/elasticsearch/issues/141870 "Does not support yet aggregations over constants", // https://github.com/elastic/elasticsearch/issues/118292 "found value \\[.*\\] type \\[unsupported\\]", // https://github.com/elastic/elasticsearch/issues/142761 - "change point value \\[.*\\] must be numeric", // https://github.com/elastic/elasticsearch/issues/142858 - "illegal query_string option \\[boost\\]", // https://github.com/elastic/elasticsearch/issues/142758 "Field \\[.*\\] of type \\[.*\\] does not support match.* queries", "JOIN left field \\[.*\\] of type \\[NULL\\] is incompatible with right", // https://github.com/elastic/elasticsearch/issues/141827 // https://github.com/elastic/elasticsearch/issues/141827 diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java index 0bd06e3b05cab..0c7282e06a1f2 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/EsqlQueryGenerator.java @@ -282,7 +282,7 @@ public static String randomName(List previousOutput) { } public static boolean needsQuoting(String rawName) { - return rawName.contains("`") || rawName.contains("-"); + return rawName.contains("`") || rawName.contains("-") || rawName.contains("(") || rawName.contains(")"); } /**