Skip to content

Commit 35b5f6c

Browse files
Update x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/vector/Magnitude.java
Co-authored-by: Carlos Delgado <[email protected]>
1 parent 84df3be commit 35b5f6c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Block eval(Page page) {
142142
for (int p = 0; p < positionCount; p++) {
143143
int dims = block.getValueCount(p);
144144
if (dims == 0) {
145-
// A null value for the vector, by default append 0 as result.
145+
// A null value for the vector, by default append null as result.
146146
builder.appendNull();
147147
continue;
148148
}

0 commit comments

Comments
 (0)