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

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

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

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, 1.9.2
>
>
> 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