danny0405 commented on a change in pull request #2083:
URL: https://github.com/apache/calcite/pull/2083#discussion_r460610231
##########
File path:
core/src/main/java/org/apache/calcite/schema/impl/ListTransientTable.java
##########
@@ -99,6 +99,9 @@ public ListTransientTable(String name, RelDataType rowType) {
// TODO cleaner way to handle non-array objects?
@Override public Object[] current() {
Object current = list.get(i);
+ if (current == null) {
+ return null;
+ }
Review comment:
When the `current` can be 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.
For queries about this service, please contact Infrastructure at:
[email protected]