From cb0cefd2bd995b5d92762f0d8b00d3594b12b387 Mon Sep 17 00:00:00 2001 From: Benjamin Kietzman Date: Fri, 21 Feb 2020 10:21:06 -0500 Subject: [PATCH] don't require equivalent metadata in InspectDictEncoded --- cpp/src/arrow/dataset/file_parquet_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/dataset/file_parquet_test.cc b/cpp/src/arrow/dataset/file_parquet_test.cc index 1ecf3a2485d10..c4d5c432a5431 100644 --- a/cpp/src/arrow/dataset/file_parquet_test.cc +++ b/cpp/src/arrow/dataset/file_parquet_test.cc @@ -320,7 +320,7 @@ TEST_F(TestParquetFileFormat, InspectDictEncoded) { ASSERT_OK_AND_ASSIGN(auto actual, format_->Inspect(*source.get())); Schema expected_schema({field("utf8", dictionary(int32(), utf8()))}); - EXPECT_EQ(*actual, expected_schema); + AssertSchemaEqual(*actual, expected_schema, /* check_metadata = */ false); } TEST_F(TestParquetFileFormat, IsSupported) {