RussellSpitzer commented on a change in pull request #1744:
URL: https://github.com/apache/iceberg/pull/1744#discussion_r520732133



##########
File path: api/src/main/java/org/apache/iceberg/types/GetProjectedIds.java
##########
@@ -39,7 +39,7 @@
 
   @Override
   public Set<Integer> field(Types.NestedField field, Set<Integer> fieldResult) 
{
-    if (fieldResult == null) {
+    if (fieldResult == null || isEmptyStruct(field)) {

Review comment:
       Removed this change leaving the API behavior exactly the same, now 
instead we add on empty projections when doing the projection itself.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to