Skip to content

Commit afd6a94

Browse files
committed
Fix failing EsqlNodeSubclassTests from incorrect NodeInfo
1 parent 49385eb commit afd6a94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/spatial/StGeohash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected SpatialGridFunction replaceChildren(Expression newSpatialField, Expres
103103

104104
@Override
105105
protected NodeInfo<? extends Expression> info() {
106-
return NodeInfo.create(this, StGeohash::new, spatialField, parameter, bounds, false);
106+
return NodeInfo.create(this, StGeohash::new, spatialField, parameter, bounds);
107107
}
108108

109109
@Override

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/spatial/StGeohex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected SpatialGridFunction replaceChildren(Expression newSpatialField, Expres
9999

100100
@Override
101101
protected NodeInfo<? extends Expression> info() {
102-
return NodeInfo.create(this, StGeohex::new, spatialField, parameter, bounds, false);
102+
return NodeInfo.create(this, StGeohex::new, spatialField, parameter, bounds);
103103
}
104104

105105
@Override

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/spatial/StGeotile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected SpatialGridFunction replaceChildren(Expression newSpatialField, Expres
103103

104104
@Override
105105
protected NodeInfo<? extends Expression> info() {
106-
return NodeInfo.create(this, StGeotile::new, spatialField, parameter, bounds, false);
106+
return NodeInfo.create(this, StGeotile::new, spatialField, parameter, bounds);
107107
}
108108

109109
@Override

0 commit comments

Comments
 (0)