You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (JIRA)" <ji...@apache.org> on 2019/08/15 12:28:00 UTC
[jira] [Updated] (ARROW-4176) [C++/Python] Human readable arrow
schema comparison
[ https://issues.apache.org/jira/browse/ARROW-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lidavidm updated ARROW-4176:
----------------------------
Labels: beginner (was: )
> [C++/Python] Human readable arrow schema comparison
> ---------------------------------------------------
>
> Key: ARROW-4176
> URL: https://issues.apache.org/jira/browse/ARROW-4176
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Python
> Reporter: Florian Jetter
> Priority: Minor
> Labels: beginner
>
> When working with arrow schemas it would be helpful to have a human readable representation of the diff between two schemas.
> This could be either exposed as a function returning a string/diff object or via a function raising an Exception with this information.
> For instance:
> {code}
> schema_diff = get_schema_diff(schema1, schema2)
> expected_diff = """
> - col_changed: int8
> + col_changed: double
> + col_additional: int8
> """
> assert schema_diff == expected_diff
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)