@@ -1089,8 +1089,6 @@ public void testMatchFilter() throws Exception {
10891089 }
10901090
10911091 public void testMatchFunctionNotAllowedAfterCommands () throws Exception {
1092- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1093-
10941092 assertEquals (
10951093 "1:24: [MATCH] function cannot be used after LIMIT" ,
10961094 error ("from test | limit 10 | where match(first_name, \" Anna\" )" )
@@ -1193,8 +1191,6 @@ public void testQueryStringWithDisjunctions() {
11931191 }
11941192
11951193 public void testMatchWithDisjunctions () {
1196- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1197-
11981194 checkWithDisjunctions ("MATCH" , "match(first_name, \" Anna\" )" );
11991195 }
12001196
@@ -1239,8 +1235,6 @@ public void testQueryStringFunctionWithNonBooleanFunctions() {
12391235 }
12401236
12411237 public void testMatchFunctionWithNonBooleanFunctions () {
1242- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1243-
12441238 checkFullTextFunctionsWithNonBooleanFunctions ("MATCH" , "match(first_name, \" Anna\" )" );
12451239 }
12461240
@@ -1264,8 +1258,6 @@ private void checkFullTextFunctionsWithNonBooleanFunctions(String functionName,
12641258 }
12651259
12661260 public void testMatchFunctionArgNotConstant () throws Exception {
1267- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1268-
12691261 assertEquals (
12701262 "1:19: second argument of [match(first_name, first_name)] must be a constant, received [first_name]" ,
12711263 error ("from test | where match(first_name, first_name)" )
@@ -1279,17 +1271,13 @@ public void testMatchFunctionArgNotConstant() throws Exception {
12791271
12801272 // These should pass eventually once we lift some restrictions on match function
12811273 public void testMatchFunctionCurrentlyUnsupportedBehaviour () throws Exception {
1282- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1283-
12841274 assertEquals (
12851275 "1:68: Unknown column [first_name]" ,
12861276 error ("from test | stats max_salary = max(salary) by emp_no | where match(first_name, \" Anna\" )" )
12871277 );
12881278 }
12891279
12901280 public void testMatchFunctionNullArgs () throws Exception {
1291- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1292-
12931281 assertEquals (
12941282 "1:19: first argument of [match(null, \" query\" )] cannot be null, received [null]" ,
12951283 error ("from test | where match(null, \" query\" )" )
@@ -1301,8 +1289,6 @@ public void testMatchFunctionNullArgs() throws Exception {
13011289 }
13021290
13031291 public void testMatchFunctionTargetsExistingField () throws Exception {
1304- assumeTrue ("skipping because MATCH is not enabled" , EsqlCapabilities .Cap .MATCH_FUNCTION .isEnabled ());
1305-
13061292 assertEquals ("1:39: Unknown column [first_name]" , error ("from test | keep emp_no | where match(first_name, \" Anna\" )" ));
13071293 }
13081294
0 commit comments