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)

Reply via email to