Skip to content

Commit

Permalink
GH-45027: [C++] Include path in the documentation is wrong (#45031)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
avitase authored Dec 16, 2024
1 parent 313d11a commit da3c6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/examples/arrow/parquet_read_write.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();

Expand Down

0 comments on commit da3c6dd

Please sign in to comment.