Skip to content

Commit 81c15db

Browse files
committed
Remove some more log with base in map tests
1 parent 63e312f commit 81c15db

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,26 +1997,6 @@ public void testLookupJoinDataTypeMismatch() {
19971997
);
19981998
}
19991999

2000-
public void testInvalidMapOption() {
2001-
// invalid key
2002-
assertEquals(
2003-
"1:22: Invalid option key in [log_with_base_in_map(languages, {\"base\":2.0, \"invalidOption\":true})], "
2004-
+ "expected base but got [\"invalidOption\"]",
2005-
error("FROM test | EVAL l = log_with_base_in_map(languages, {\"base\":2.0, \"invalidOption\":true})")
2006-
);
2007-
// key is case-sensitive
2008-
assertEquals(
2009-
"1:22: Invalid option key in [log_with_base_in_map(languages, {\"Base\":2.0})], " + "expected base but got [\"Base\"]",
2010-
error("FROM test | EVAL l = log_with_base_in_map(languages, {\"Base\":2.0})")
2011-
);
2012-
// invalid value
2013-
assertEquals(
2014-
"1:22: Invalid option value in [log_with_base_in_map(languages, {\"base\":\"invalid\"})], "
2015-
+ "expected a numeric number but got [invalid]",
2016-
error("FROM test | EVAL l = log_with_base_in_map(languages, {\"base\":\"invalid\"})")
2017-
);
2018-
}
2019-
20202000
public void testMatchOptions() {
20212001
// Check positive cases
20222002
query("FROM test | WHERE match(first_name, \"Jean\", {\"analyzer\": \"standard\"})");

0 commit comments

Comments
 (0)