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)

Reply via email to