You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/12/07 23:00:18 UTC

[jira] Commented: (AVRO-246) Java schema parser should take schema from InputStream in addition to file

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

Doug Cutting commented on AVRO-246:
-----------------------------------

The advantage of passing the File directly to Jackson is that Jackson can then generate error messages that include the file name and line number.

> 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.