avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bridger Howell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-2077) Avro tools should have an option to check reader-writer compatibility
Date Tue, 03 Oct 2017 13:30:02 GMT

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

Bridger Howell commented on AVRO-2077:
--------------------------------------

[~nkollar] I see your point. I see some value to having a general "compatibility tool" with
syntax like
{noformat}
schemaCompatTool [--data <data-file> | <schema-location>] <schema-location>
{noformat}

Where the tool assumes if you provide an avro data file that you only want to read from it,
and otherwise checks mutual compatibility.

Of course

> Avro tools should have an option to check reader-writer compatibility
> ---------------------------------------------------------------------
>
>                 Key: AVRO-2077
>                 URL: https://issues.apache.org/jira/browse/AVRO-2077
>             Project: Avro
>          Issue Type: New Feature
>          Components: java, tools
>            Reporter: Nandor Kollar
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> It seems that avro-tools doesn't have any option to check for a given Avro file and a
given reader schema (JSON file or URL) that the reader's schema is compatible with the writer's
schema. This tool should report every compatibility problem (if there's any).
> According my knowledge, there's no such option for avro-tools as of now.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message