Skip to content

PyIceberg-Core: Push down Parquet reading to Iceberg-Rust #1144

Closed as not planned

Description

@Fokko

Is your feature request related to a problem or challenge?

As a next step in integrating PyIceberg and Iceberg-Rust, it would be great to push down the Parquet reading (including all the schema evolution) to Iceberg-Rust. Today, in PyIceberg, we go over each of the record batches, which causes a lot of pressure on the GIL. This logic should all happen in the Parquet reader (schema evolution, projecting missing columns, renames, re-ordering, etc), but from PyArrow we don't have the flexibility to project on ID, so this is what we ended up with.

The most logical separation would be to pass the FileScanTask into Iceberg-Rust.

We can break it down into building blocks:

  • Ability to leverage the Iceberg-Rust FileIO in PyIceberg to open up streams
  • Ability to pass down a PyIceberg schema into Iceberg-Rust.
    • Can we serialize it into JSON? But that seems to be costly. Ideally, we want to reuse objects and not have to copy them from one to the other.
  • Pass down expressions.

From the callgraph:

Image

Image

Describe the solution you'd like

No response

Willingness to contribute

None

Activity

  1. changed the title [-]PyIceberg core: Push down Parquet reading to Iceberg-Rust[/-] [+]PyIceberg-Core: Push down Parquet reading to Iceberg-Rust[/+] on Mar 27, 2025
  2. ion-elgreco commented on Apr 15, 2025

    @ion-elgreco

    This can be reasonably straight forward, depending on how you want to handle predicates. SQL strings or expressions.

    A lazy record batch iterator can be done with this: https://github.com/delta-io/delta-rs/blob/main/python%2Fsrc%2Freader.rs

    Then you would construct the TableProvider, scan, project it and then return that lazy iterator.

  3. kaushiksrini commented on Oct 14, 2025

    @kaushiksrini
    Contributor

    Hey @Fokko, interested in picking this up!

  4. github-actions commented on Apr 13, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

  5. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

  6. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

    This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions