This is an automated email from the ASF dual-hosted git repository.
gangwu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new a8fe372c31 MINOR: [C++][Parquet] Add table->ValidateFull() to
LegacyTwoLevelList test (#44847)
a8fe372c31 is described below
commit a8fe372c3147921c4017e24b13aafa9ce1465577
Author: Gang Wu <[email protected]>
AuthorDate: Tue Nov 26 09:21:05 2024 +0800
MINOR: [C++][Parquet] Add table->ValidateFull() to LegacyTwoLevelList test
(#44847)
### Rationale for this change
Add a validate call as suggested by
https://github.com/apache/arrow/pull/43995#discussion_r1856174932
### What changes are included in this PR?
Add a table->ValidateFull() to LegacyTwoLevelList test case.
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
Authored-by: Gang Wu <[email protected]>
Signed-off-by: Gang Wu <[email protected]>
---
cpp/src/parquet/arrow/arrow_reader_writer_test.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
b/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
index 3a3c1e815e..f8e639176a 100644
--- a/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
+++ b/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
@@ -4117,6 +4117,7 @@ TEST(TestArrowReaderAdHoc, LegacyTwoLevelList) {
FileReader::Make(default_memory_pool(), std::move(file_reader),
&reader));
std::shared_ptr<Table> table;
ASSERT_OK(reader->ReadTable(&table));
+ ASSERT_OK(table->ValidateFull());
AssertTablesEqual(*expected_table, *table);
};