Skip to content

Update Parquet file reading to use Arrow Result-returning OpenFile API #5146

Closed

Description

@1RyanK

Arkouda’s Parquet utility code (src/parquet/UtilParquet.cpp) still uses the deprecated overload of:

parquet::arrow::OpenFile(...)

Arrow 19.0.0 deprecates this version and requires using the arrow::Result<T>-returning API instead. This produces build warnings such as:

'OpenFile' is deprecated: Deprecated in 19.0.0. Use arrow::Result version instead.

Updating to the Result-returning API requires two changes:

  1. Replace all uses of

    ARROWSTATUS_OK(parquet::arrow::OpenFile(..., &reader));

    with

    ARROWRESULT_OK(parquet::arrow::OpenFile(...), reader);
  2. Update the ARROWRESULT_OK macro to correctly move the returned unique_ptr, since unique_ptr is non-copyable.

This issue tracks modernizing the Parquet reading code and removing the deprecation warnings.

Activity

  1. self-assigned this
    on Dec 11, 2025
  2. added
    enhancement
    on Dec 11, 2025
  3. added 2 commits that reference this issue on Dec 11, 2025
    c5c7902
    e3f26bd
  4. added a commit that references this issue on Dec 13, 2025
    6229674
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions