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

SteNicholas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new b0e411b2 fix(parquet): pass ReadHints into VECTOR 
ParquetFileBatchReader tests (#223)
b0e411b2 is described below

commit b0e411b2998776a4571175d465aaf944d5a98a0e
Author: 小明同学 <[email protected]>
AuthorDate: Thu Aug 20 14:06:29 2026 +0800

    fix(parquet): pass ReadHints into VECTOR ParquetFileBatchReader tests (#223)
---
 src/paimon/format/parquet/parquet_vector_io_test.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/paimon/format/parquet/parquet_vector_io_test.cpp 
b/src/paimon/format/parquet/parquet_vector_io_test.cpp
index e177cc1b..f45dad1e 100644
--- a/src/paimon/format/parquet/parquet_vector_io_test.cpp
+++ b/src/paimon/format/parquet/parquet_vector_io_test.cpp
@@ -155,7 +155,8 @@ class ParquetVectorIoTest : public ::testing::Test {
             std::unique_ptr<ParquetFileBatchReader> reader,
             ParquetFileBatchReader::Create(std::move(in_stream), 
/*options=*/{},
                                            /*batch_size=*/10, 
/*file_metadata=*/nullptr,
-                                           /*storage_read_bytes=*/nullptr, 
arrow_pool_));
+                                           /*storage_read_bytes=*/nullptr, 
arrow_pool_,
+                                           /*hints=*/std::nullopt));
         ASSERT_OK_AND_ASSIGN(std::unique_ptr<ArrowSchema> c_file_schema, 
reader->GetFileSchema());
         arrow::Result<std::shared_ptr<arrow::DataType>> file_type_result =
             arrow::ImportType(c_file_schema.get());
@@ -176,7 +177,8 @@ class ParquetVectorIoTest : public ::testing::Test {
             std::unique_ptr<ParquetFileBatchReader> reader,
             ParquetFileBatchReader::Create(std::move(in_stream), options, 
batch_size,
                                            /*file_metadata=*/nullptr,
-                                           /*storage_read_bytes=*/nullptr, 
arrow_pool_));
+                                           /*storage_read_bytes=*/nullptr, 
arrow_pool_,
+                                           /*hints=*/std::nullopt));
         std::unique_ptr<FileBatchReader> vector_reader =
             std::make_unique<VectorFileBatchReader>(std::move(reader), pool_);
         auto c_schema = std::make_unique<ArrowSchema>();

Reply via email to