You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/11/07 18:26:00 UTC

[jira] [Created] (ARROW-7090) [C++] AssertFieldEqual (and friends) doesn't show metadata on failure

Antoine Pitrou created ARROW-7090:
-------------------------------------

             Summary: [C++] AssertFieldEqual (and friends) doesn't show metadata on failure
                 Key: ARROW-7090
                 URL: https://issues.apache.org/jira/browse/ARROW-7090
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Antoine Pitrou


If two fields only differ by metadata the error message isn't very informative:
{code}
../src/arrow/testing/gtest_util.cc:147: Failure
Failed
left field: ints: int8 not null
right field: ints: int8 not null

{code}

Perhaps {{DataType::ToString}}, {{Field::ToString}} and {{Schema::ToString}} could get an optional flag to display metadata?



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