danny0405 commented on a change in pull request #2083:
URL: https://github.com/apache/calcite/pull/2083#discussion_r460685422



##########
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:
       Hmm, is it possible to write a test case there, for your case `null 
involved repeatUnion`




----------------------------------------------------------------
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]


Reply via email to