[
https://issues.apache.org/jira/browse/AVRO-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189672#comment-16189672
]
Nandor Kollar commented on AVRO-2077:
-------------------------------------
[~howellbridger] AVRO-1933 and AVRO-2003 provides details about
incompatibilities between reader and writer schemas. It seems that there's no
tool in avro-tools to display these for a given file and a (reader) schema,
with this Jira I wanted to address this gap: {{schemaCompatTool input_Avro_file
reader_schema_file}}. This can be made bi-directional, but I don't see any
point for checking if a given (writer) schema present in an existing Avro file
could be used to as reader schema.
For your case, I'd create an other tool with different parameters:
{{mutualSchemaCompatTool schema_1 schema_2}} (either URLs or files with Avro
JSON schema), and it would list the bi-directional compatibility (which could
be implemented as part of this Jira too). How about this approach?
> 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)