Skip to content

Commit 82e84b1

Browse files
committed
Format
1 parent 48cf5de commit 82e84b1

File tree

1 file changed

+7
-1
lines changed
  • x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/expression

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,13 @@ public static TypeResolution isRepresentableExceptCounters(Expression e, String
8080
}
8181

8282
public static TypeResolution isRepresentableExceptCountersAndSpatial(Expression e, String operationName, ParamOrdinal paramOrd) {
83-
return isType(e, (t) -> isSpatial(t) == false && DataType.isRepresentable(t), operationName, paramOrd, "any type except counter and spatial types");
83+
return isType(
84+
e,
85+
(t) -> isSpatial(t) == false && DataType.isRepresentable(t),
86+
operationName,
87+
paramOrd,
88+
"any type except counter and spatial types"
89+
);
8490
}
8591

8692
public static TypeResolution isExact(Expression e, String message) {

0 commit comments

Comments
 (0)