crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adric Eckstein (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CRUNCH-573) Avro union in cogroup doesn't check for nested unions
Date Fri, 16 Oct 2015 12:43:05 GMT
Adric Eckstein created CRUNCH-573:
-------------------------------------

             Summary: Avro union in cogroup doesn't check for nested unions
                 Key: CRUNCH-573
                 URL: https://issues.apache.org/jira/browse/CRUNCH-573
             Project: Crunch
          Issue Type: Bug
    Affects Versions: 0.13.0
            Reporter: Adric Eckstein


If one of the Cogroup.cogroup() inputs PType is an avro union, the cogroup() method attempts
to construct a union of the input PTypes, which throws a Avro RuntimeException for a nested
union.  This is similar to CRUNCH-547.

The bug could be fixed by either modifying the Avros.unionOf() method to check for union input
types, or by unnesting the types in cogroup() prior to constructing the avro union.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message