[ 
https://issues.apache.org/jira/browse/AVRO-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17746501#comment-17746501
 ] 

Christophe Le Saec commented on AVRO-2480:
------------------------------------------

Is it link to [AVRO-3805|https://issues.apache.org/jira/browse/AVRO-3805] and 
this [PR|https://github.com/apache/avro/pull/2375] that add this method on 
Schema class ?
{code:java}
public List<Schema> parse(Iterable<File> sources) throws IOException
{code}
and allow to load multiple dependant schema file in one call.


> 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
(v8.20.10#820010)

Reply via email to