Skip to content

Conversation

@kevinjqliu
Copy link
Owner Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a valuable feature for passing arbitrary properties to underlying PyArrow filesystems, enhancing configurability. The code is generally well-structured with new helper methods and comprehensive tests. I've identified one critical bug in the GCS filesystem initialization logic, a high-severity issue with handling properties containing hyphens which contradicts the documentation, and several medium-severity performance improvements. Addressing these points will make this a solid contribution.

kevinjqliu and others added 3 commits August 4, 2025 13:15
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@kevinjqliu
Copy link
Owner Author

/gemini review

@gemini-code-assist
Copy link

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@kevinjqliu
Copy link
Owner Author

/gemini review

@gemini-code-assist
Copy link

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@kevinjqliu
Copy link
Owner Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a valuable feature to pass-through properties to the underlying PyArrow filesystems, enhancing configuration flexibility. The implementation is well-structured, refactoring the filesystem initialization logic into a more maintainable and extensible pattern. The documentation and tests have been updated accordingly.

My review focuses on a few areas for improvement:

  • A minor formatting issue in the documentation's markdown table.
  • A recurring performance optimization in the property handling logic within pyiceberg/io/pyarrow.py, where iterating over a pre-filtered dictionary would be more efficient.

Overall, this is a solid contribution that improves the library's usability.

@kevinjqliu
Copy link
Owner Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The code changes introduce the ability to pass through arbitrary properties to the underlying PyArrow filesystems, enhancing the flexibility of filesystem configuration in PyIceberg. The implementation is well-structured and accompanied by a comprehensive set of tests. The review focuses on improving efficiency in the _initialize_*_fs methods and fixing a minor formatting issue in the configuration documentation.

@kevinjqliu kevinjqliu closed this Aug 4, 2025
@kevinjqliu kevinjqliu deleted the fs-props branch August 4, 2025 23:49
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.

3 participants