[
https://issues.apache.org/jira/browse/AVRO-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dylan Patterson updated AVRO-2480:
----------------------------------
Description: Behavior is inconsistent of the internal types map when
parsing multiple types. If a schema fails to parse due to missing dependent
type, the depending type still gets added - including it's (apparently
unparsable) schema. Further this schema does not have the `isError()` flag set.
This only happens for record types. It makes it largely impossible to process
multiple dependent schemas (was: Behavior is inconsistent of the internal
types map when parsing multiple types. If a schema fails to parse due to
missing dependent type, the depending type still gets added - including it's
(apparently unparsable) schema. Further this schema does not have the
`isError()` flag set. This only happens for record types.)
> Java Schema Parser adds unparsable files to known types
> -------------------------------------------------------
>
> Key: AVRO-2480
> URL: https://issues.apache.org/jira/browse/AVRO-2480
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.8.2
> Reporter: Dylan Patterson
> Priority: Major
>
> Behavior is inconsistent of the internal types map when parsing multiple
> types. If a schema fails to parse due to missing dependent type, the
> depending type still gets added - including it's (apparently unparsable)
> schema. Further this schema does not have the `isError()` flag set. This
> only happens for record types. It makes it largely impossible to process
> multiple dependent schemas
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)