Skip to content

Revert fix: use PyArrowFileIO for S3 access in get_dbt_model_as_dataframe#2222

Merged
rachellougee merged 1 commit into
mainfrom
revert/pr-2218-py-io-impl
May 12, 2026
Merged

Revert fix: use PyArrowFileIO for S3 access in get_dbt_model_as_dataframe#2222
rachellougee merged 1 commit into
mainfrom
revert/pr-2218-py-io-impl

Conversation

@rachellougee
Copy link
Copy Markdown
Contributor

What are the relevant tickets?

Reverts PR #2218.

The py-io-impl: pyiceberg.io.pyarrow.PyArrowFileIO property added in #2218
is redundant — PyIceberg 0.11.1 already prefers PyArrowFileIO for S3 paths
by default (see SCHEMA_TO_FILE_IO in pyiceberg/io/init.py). The explicit
setting has no effect and is dead code.

Description (What does it do?)

Screenshots (if appropriate):

  • Desktop screenshots
  • Mobile width screenshots

How can this be tested?

Additional Context

Copilot AI review requested due to automatic review settings May 12, 2026 19:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts PR #2218 by removing the explicit PyIceberg GlueCatalog py-io-impl override intended to force PyArrowFileIO for S3 reads in get_dbt_model_as_dataframe.

Changes:

  • Removes the explicit py-io-impl: pyiceberg.io.pyarrow.PyArrowFileIO configuration when constructing GlueCatalog.
  • Updates the get_dbt_model_as_dataframe docstring to describe a DataFrame return type and adjusts documented exceptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/ol-orchestrate-lib/src/ol_orchestrate/lib/glue_helper.py
Comment thread packages/ol-orchestrate-lib/src/ol_orchestrate/lib/glue_helper.py
Comment thread packages/ol-orchestrate-lib/src/ol_orchestrate/lib/glue_helper.py
@rachellougee rachellougee merged commit c42c9e7 into main May 12, 2026
10 checks passed
@rachellougee rachellougee deleted the revert/pr-2218-py-io-impl branch May 12, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants