Skip to content

Commit 05ad12c

Browse files
authored
GH-46435: [Parquet][C++] Fix uninitialized value in writer test (#46533)
### Rationale for this change The test-conda-cpp-valgrind nightly is failing. ### What changes are included in this PR? The value pointer was fixed to point to the correct value source. ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #46435 Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 197afc0 commit 05ad12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/parquet/column_writer_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ TEST_F(TestGeometryValuesWriter, TestWriteAndReadAllNull) {
19991999
std::fill(this->def_levels_.begin(), this->def_levels_.end(), 0);
20002000
auto writer = this->BuildWriter(SMALL_SIZE);
20012001
writer->WriteBatch(this->values_.size(), this->def_levels_.data(), nullptr,
2002-
this->values_ptr_);
2002+
this->values_.data());
20032003

20042004
writer->Close();
20052005
this->ReadColumn();

0 commit comments

Comments
 (0)