You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/05/21 19:30:34 UTC

[GitHub] [incubator-iceberg] rdblue commented on a change in pull request #1046: ISSUE-189: Add support for union record type

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



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