Skip to content

Commit a2d8e9c

Browse files
authored
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 <arnavbalyan1@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
1 parent 25e4fdb commit a2d8e9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/parquet/properties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ class PARQUET_EXPORT ArrowReaderProperties {
11951195
/// Note that some APIs such as ReadTable may ignore this setting.
11961196
int64_t batch_size() const { return batch_size_; }
11971197

1198-
/// Enable read coalescing (default false).
1198+
/// Enable read coalescing (default true).
11991199
///
12001200
/// When enabled, the Arrow reader will pre-buffer necessary regions
12011201
/// of the file in-memory. This is intended to improve performance on

0 commit comments

Comments
 (0)