Uh oh!
There was an error while loading. Please reload this page.
GH-44810: [C++][Parquet] Add arrow::Result version of parquet::arrow::FileReader::Make() - #48285
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
86eba06 to
7ef530cCompare
hiroyuki-sato
left a comment
There was a problem hiding this comment.
@kou CI passed Please take a look when you get a chacne.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
39cc9ea to
45249ddComparef1abda7 to
4045dc8Comparehiroyuki-sato
commented
Dec 9, 2025
@kou Thank you for your review. I add |
Uh oh!
There was an error while loading. Please reload this page.
After merging your PR, Conbench analyzed the 2 benchmarking runs that have been run so far on merge-commit 7a36fcc. There weren't enough matching historic benchmark results to make a call on whether there were regressions. The full Conbench report has more details. |
…arrow::FileReader::Make() (apache#48285) ### Rationale for this change `FileReader::Make` previously returned `Status` and required callers to pass an `out` parameter. ### What changes are included in this PR? Introduce a `Result<std::unique_ptr<FileReader>>` returning API to allow clearer error propagation ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. Status version `FileReader::Make` has been deprecated. ```cpp static ::arrow::Status Make(::arrow::MemoryPool* pool, std::unique_ptr<ParquetFileReader> reader, const ArrowReaderProperties& properties, std::unique_ptr<FileReader>* out); static ::arrow::Status Make(::arrow::MemoryPool* pool, std::unique_ptr<ParquetFileReader> reader, std::unique_ptr<FileReader>* out); ``` * GitHub Issue: apache#44810 Lead-authored-by: Hiroyuki Sato <hiroysato@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
FileReader::Makepreviously returnedStatusand required callers to pass anoutparameter.What changes are included in this PR?
Introduce a
Result<std::unique_ptr<FileReader>>returning API to allow clearer error propagationAre these changes tested?
Yes.
Are there any user-facing changes?
Yes.
Status version
FileReader::Makehas been deprecated.arrow::Resultversion ofparquet::arrow::FileReader::Make()#44810