Berkof commented on a change in pull request #9276:
URL: https://github.com/apache/ignite/pull/9276#discussion_r680641527
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/ArrayRowHandler.java
##########
@@ -33,7 +33,7 @@ private ArrayRowHandler() {}
/** {@inheritDoc} */
@Override public Object get(int field, Object[] row) {
- return row[field];
+ return (row == null) ? null : row[field];
Review comment:
AbstractIndexScan.iterator():
IdxRow lower = lowerBound == null ? null :
row2indexRow(lowerBound.get());
IdxRow upper = upperBound == null ? null :
row2indexRow(upperBound.get());
return new IteratorImpl(idx.find(lower, upper, indexQueryContext()));
lead to RuntimeTreeIndex call ectx.rowHandler() get(firstCol, lower) with
row equals to null.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]