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

thisisnic 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 5d26062e39 MINOR: [C++][Parquet][Doc] pointer dereference instead of 
dot in parquet.rst (#49932)
5d26062e39 is described below

commit 5d26062e394a6fe787337bc38aa383191bd24ace
Author: alexeyroytman <[email protected]>
AuthorDate: Fri Sep 4 14:58:54 2026 +0300

    MINOR: [C++][Parquet][Doc] pointer dereference instead of dot in 
parquet.rst (#49932)
    
    ### Rationale for this change
    Example code did not compile because it used dot (`.`) instead of arrow 
(`->`) in C++ code.
    
    ### What changes are included in this PR?
    One C++ example code in a documentation to have dot (`.`) replaced by arrow 
(`->`).
    
    ### Are these changes tested?
    Manually, when I've tried to copy-and-paste example, and it did not compile.
    
    ### Are there any user-facing changes?
    One external example will change.
    
    Authored-by: alexeyroytman <[email protected]>
    Signed-off-by: Nic Crane <[email protected]>
---
 docs/source/cpp/parquet.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/source/cpp/parquet.rst b/docs/source/cpp/parquet.rst
index 1aace68626..ac38566866 100644
--- a/docs/source/cpp/parquet.rst
+++ b/docs/source/cpp/parquet.rst
@@ -256,11 +256,11 @@ To configure how Parquet files are written, use the 
:class:`WriterProperties::Bu
 
    std::shared_ptr<WriterProperties> props = WriterProperties::Builder()
       .max_row_group_length(64 * 1024)
-      .created_by("My Application")
-      .version(ParquetVersion::PARQUET_2_6)
-      .data_page_version(ParquetDataPageVersion::V2)
-      .compression(Compression::SNAPPY)
-      .build();
+      ->created_by("My Application")
+      ->version(ParquetVersion::PARQUET_2_6)
+      ->data_page_version(ParquetDataPageVersion::V2)
+      ->compression(Compression::SNAPPY)
+      ->build();
 
 The ``max_row_group_length`` sets an upper bound on the number of rows per row
 group that takes precedent over the ``chunk_size`` passed in the write methods.

Reply via email to