[ 
https://issues.apache.org/jira/browse/AVRO-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvalluvan M. G. updated AVRO-246:
-------------------------------------

    Attachment: AVRO-246.patch

This patch addresses the problem. Though I could have made Jackson accept 
java.io.File directly in File version of parse, I decided to delegate to to 
InputStream version so that there is no duplication of try/catch.

> Java schema parser should take schema from InputStream in addition to file
> --------------------------------------------------------------------------
>
>                 Key: AVRO-246
>                 URL: https://issues.apache.org/jira/browse/AVRO-246
>             Project: Avro
>          Issue Type: Improvement
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>            Priority: Minor
>         Attachments: AVRO-246.patch
>
>
> Accepting the schema from an InputStream (in addition to the current File) 
> enables many use-cases like taking schema from a resource in a jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to