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

ASF subversion and git services commented on AVRO-2689:
-------------------------------------------------------

Commit afbda0798a4fe662bd5379cf535da79800c4e840 in avro's branch 
refs/heads/master from Roger Peppe
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=afbda07 ]

AVRO-2689:  add reader-schema to DataFileReadTool (#785)

* AVRO-2689: add reader schema to DataFileReadTool

This PR adds --reader-schema and --reader-schema-file flags
to the tojson tool.

* AVRO-2689: Unit test for reader schema on tojson tool.

Co-authored-by: RyanSkraba <r...@skraba.com>


> Avro-tools should have a way to test schema evolution.
> ------------------------------------------------------
>
>                 Key: AVRO-2689
>                 URL: https://issues.apache.org/jira/browse/AVRO-2689
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Ryan Skraba
>            Assignee: Roger
>            Priority: Major
>             Fix For: 1.10.0
>
>
> The avro-tools command line should have at least one way to test 
> reading/writing with an evolved schema.  This would be useful for testing 
> schema evolution and reproducing errors or bug reports from the command line.
> A good candidate would be to add a {{--reader-schema}} option to the 
> {{tojson}} tool (where the writer schema comes from the data file).
> Alternatively, the {{fragtojson}} already takes the writer schema and we 
> could add {{--reader-schema-file}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to