Skip to content

Commit 688567b

Browse files
committed
add null type to testChangePoint_valueNumeric
1 parent e81e47e commit 688567b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,6 +2060,7 @@ public void testChangePoint_valueNumeric() {
20602060
error(Strings.format("ROW key=0, value=NULL::%s\n | CHANGE_POINT value ON key", type))
20612061
);
20622062
}
2063+
assertEquals("2:4: change point value [value] must be numeric", error("ROW key=0, value=NULL\n | CHANGE_POINT value ON key"));
20632064
}
20642065

20652066
public void testSortByAggregate() {

0 commit comments

Comments
 (0)