rdblue commented on a change in pull request #1046:
URL: https://github.com/apache/incubator-iceberg/pull/1046#discussion_r428866667



##########
File path: api/src/main/java/org/apache/iceberg/types/Types.java
##########
@@ -641,6 +650,13 @@ public int hashCode() {
       }
       return fieldsById;
     }
+
+    /**
+     * @return true if struct represents union schema
+     */
+    public boolean isUnionSchema() {

Review comment:
       I agree. Iceberg's type system should have no knowledge of union types 
because unions aren't supported.




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to