Skip to content

Commit 3248b8f

Browse files
committed
Remove LogWithBaseInMapEvaluator as Match provides testing for map arguments
1 parent 1deae1a commit 3248b8f

File tree

8 files changed

+17
-464
lines changed

8 files changed

+17
-464
lines changed

x-pack/plugin/esql/src/main/generated/org/elasticsearch/xpack/esql/expression/function/scalar/map/LogWithBaseInMapEvaluator.java

Lines changed: 0 additions & 139 deletions
This file was deleted.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/ExpressionWritables.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToString;
3232
import org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToUnsignedLong;
3333
import org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToVersion;
34-
import org.elasticsearch.xpack.esql.expression.function.scalar.map.LogWithBaseInMap;
3534
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Abs;
3635
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Acos;
3736
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Asin;
@@ -162,7 +161,6 @@ public static List<NamedWriteableRegistry.Entry> unaryScalars() {
162161
entries.add(IsNull.ENTRY);
163162
entries.add(Length.ENTRY);
164163
entries.add(Log10.ENTRY);
165-
entries.add(LogWithBaseInMap.ENTRY);
166164
entries.add(LTrim.ENTRY);
167165
entries.add(Neg.ENTRY);
168166
entries.add(Not.ENTRY);

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/EsqlFunctionRegistry.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
import org.elasticsearch.xpack.esql.expression.function.scalar.date.Now;
7171
import org.elasticsearch.xpack.esql.expression.function.scalar.ip.CIDRMatch;
7272
import org.elasticsearch.xpack.esql.expression.function.scalar.ip.IpPrefix;
73-
import org.elasticsearch.xpack.esql.expression.function.scalar.map.LogWithBaseInMap;
7473
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Abs;
7574
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Acos;
7675
import org.elasticsearch.xpack.esql.expression.function.scalar.math.Asin;
@@ -438,9 +437,6 @@ private static FunctionDefinition[][] snapshotFunctions() {
438437
// The delay() function is for debug/snapshot environments only and should never be enabled in a non-snapshot build.
439438
// This is an experimental function and can be removed without notice.
440439
def(Delay.class, Delay::new, "delay"),
441-
// log_with_base_in_map is for debug/snapshot environments only
442-
// and should never be enabled in a non-snapshot build. They are for the purpose of testing MapExpression only.
443-
def(LogWithBaseInMap.class, LogWithBaseInMap::new, "log_with_base_in_map"),
444440
def(Rate.class, Rate::withUnresolvedTimestamp, "rate"),
445441
def(Term.class, bi(Term::new), "term") } };
446442
}

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/Match.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ protected Map<String, Object> matchQueryOptions() throws InvalidArgumentExceptio
287287
return matchOptions;
288288
}
289289

290-
private Expression options() {
290+
public Expression options() {
291291
return options;
292292
}
293293

0 commit comments

Comments
 (0)