This is an automated email from the ASF dual-hosted git repository.

pitrou 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 7dbcb0f132 GH-50718: [C++][CI] Fix valgrind use of uninitialised value 
on FixedSizeListTestCase (#50721)
7dbcb0f132 is described below

commit 7dbcb0f13203111e28b8bcddd64b8eb7c3479d86
Author: Zehua Zou <[email protected]>
AuthorDate: Thu Jul 30 03:11:46 2026 +0800

    GH-50718: [C++][CI] Fix valgrind use of uninitialised value on 
FixedSizeListTestCase (#50721)
    
    ### Rationale for this change
    
    Fix a valgrind error.
    
    ### What changes are included in this PR?
    
    Add `PrintTo` method to `FixedSizeListTestCase`.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #50718
    
    Authored-by: Zehua Zou <[email protected]>
    Signed-off-by: Antoine Pitrou <[email protected]>
---
 cpp/src/parquet/arrow/arrow_reader_writer_test.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cpp/src/parquet/arrow/arrow_reader_writer_test.cc 
b/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
index 3fcc4ac49c..2bdbc38b36 100644
--- a/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
+++ b/cpp/src/parquet/arrow/arrow_reader_writer_test.cc
@@ -3419,6 +3419,10 @@ struct FixedSizeListTestCase {
   std::string json;
 };
 
+void PrintTo(const FixedSizeListTestCase& test_case, std::ostream* os) {
+  *os << "{type=" << test_case.type->ToString() << ", json=" << test_case.json 
<< "}";
+}
+
 class TestFixedSizeListRoundTrip
     : public ::testing::TestWithParam<FixedSizeListTestCase> {};
 

Reply via email to