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

kou 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 da3c6dde44 GH-45027: [C++] Include path in the documentation is wrong 
(#45031)
da3c6dde44 is described below

commit da3c6dde44575d3b68a20a0493bd3e9a1588aa14
Author: Nis Meinert <[email protected]>
AuthorDate: Mon Dec 16 01:49:05 2024 +0100

    GH-45027: [C++] Include path in the documentation is wrong (#45031)
    
    In the comments the includes of `(arrow/)parquet/arrow/reader.h` were 
broken. Removing the prefix `arrow` makes this include in line with the 
includes used at the top of the file.
    * GitHub Issue: #45027
    
    Authored-by: Nis Meinert <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/examples/arrow/parquet_read_write.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/examples/arrow/parquet_read_write.cc 
b/cpp/examples/arrow/parquet_read_write.cc
index a07c10fda5..7a2fe6f070 100644
--- a/cpp/examples/arrow/parquet_read_write.cc
+++ b/cpp/examples/arrow/parquet_read_write.cc
@@ -26,7 +26,7 @@
 
 arrow::Status ReadFullFile(std::string path_to_file) {
   // #include "arrow/io/api.h"
-  // #include "arrow/parquet/arrow/reader.h"
+  // #include "parquet/arrow/reader.h"
 
   arrow::MemoryPool* pool = arrow::default_memory_pool();
   std::shared_ptr<arrow::io::RandomAccessFile> input;
@@ -44,7 +44,7 @@ arrow::Status ReadFullFile(std::string path_to_file) {
 
 arrow::Status ReadInBatches(std::string path_to_file) {
   // #include "arrow/io/api.h"
-  // #include "arrow/parquet/arrow/reader.h"
+  // #include "parquet/arrow/reader.h"
 
   arrow::MemoryPool* pool = arrow::default_memory_pool();
 

Reply via email to