rubenada commented on a change in pull request #2083:
URL: https://github.com/apache/calcite/pull/2083#discussion_r460677678
##########
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:
ListTransientTable is currently used in combination with repeatUnion to
support recursive queries. So we could get to this scenario if we have a null
involved in the 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]