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 a2d8e9c2fc MINOR: [C++][Parquet] Fix incorrect default in
ArrowReaderProperties::set_pre_buffer doc (#49911)
a2d8e9c2fc is described below
commit a2d8e9c2fcdaa3d11edea45a3cdceaed52be88fd
Author: Arnav Balyan <[email protected]>
AuthorDate: Tue May 5 19:05:58 2026 +0530
MINOR: [C++][Parquet] Fix incorrect default in
ArrowReaderProperties::set_pre_buffer doc (#49911)
### Rationale for this change
- The docs comment on ArrowReaderProperties::set_pre_buffer says `default
false`, but the constructor initializes pre_buffer_(true). The API page at
arrow.apache.org/docs/cpp/api/formats.html shows false.
- Default was changed in a previous pr but comment/doc was not updated
### What changes are included in this PR?
- Updated the default value
### Are these changes tested?
- N/A - Docs
### Are there any user-facing changes?
- Yes
Authored-by: Arnav Balyan <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
---
cpp/src/parquet/properties.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/parquet/properties.h b/cpp/src/parquet/properties.h
index 43657410df..6634bac4f6 100644
--- a/cpp/src/parquet/properties.h
+++ b/cpp/src/parquet/properties.h
@@ -1195,7 +1195,7 @@ class PARQUET_EXPORT ArrowReaderProperties {
/// Note that some APIs such as ReadTable may ignore this setting.
int64_t batch_size() const { return batch_size_; }
- /// Enable read coalescing (default false).
+ /// Enable read coalescing (default true).
///
/// When enabled, the Arrow reader will pre-buffer necessary regions
/// of the file in-memory. This is intended to improve performance on