Skip to content

Commit 60b3314

Browse files
committed
move check
1 parent 5186b88 commit 60b3314

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/lucene/read/ValuesFromManyReader.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ private void buildBlocks() {
131131
}
132132
operator.sanityCheckBlock(rowStride[f], backwards.length, target[f], f);
133133
}
134+
if (target[0].getPositionCount() != docs.getPositionCount()) {
135+
throw new IllegalStateException("partial pages not yet supported");
136+
}
134137
}
135138

136139
private void verifyBuilders(ComputeBlockLoaderFactory loaderBlockFactory, int shard) {

0 commit comments

Comments
 (0)