NobiGo commented on a change in pull request #2592:
URL: https://github.com/apache/calcite/pull/2592#discussion_r735350870



##########
File path: 
cassandra/src/main/java/org/apache/calcite/adapter/cassandra/CassandraEnumerator.java
##########
@@ -118,7 +123,8 @@ private Object convertToEnumeratorObject(Object obj) {
               tupleValue.get(i,
                   CassandraSchema.CODEC_REGISTRY.codecFor(
                       tupleValue.getType().getComponentTypes().get(i)))
-          ).map(this::convertToEnumeratorObject)
+          ).map(Objects::requireNonNull)

Review comment:
       Where doesn't exist NULL value ? Maybe should add unit test to cover 
this.




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


Reply via email to