Github user devtagare commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/211#discussion_r56626092
--- Diff:
contrib/src/main/java/com/datatorrent/contrib/avro/AvroRecordHelper.java ---
@@ -114,6 +107,7 @@ private static Object
convertAndResolveUnionToPrimitive(Schema schema, String ke
}
convertedValue =
convertValueToAvroPrimitive(types.get(i).getType(), key, value);
} catch (RuntimeException e) {
+ LOG.error("Could not handle schema resolution" + e.getMessage());
--- End diff --
Actually failure for reading a single field inside a union should not cause
a failure to read the rest of the values inside the union.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---