AllyNav opened a new pull request, #4626: URL: https://github.com/apache/iceberg-python/pull/4626
### Summary Part of #4140 (Matching Catalog Properties with Java). Accepts Java Iceberg's `gcs.user-project` property (`GCPProperties.GCS_USER_PROJECT`) as a fallback in `FsspecFileIO` (`_gs`) when Python's native `gcs.requester-pays` property is not set: - Adds `GCS_USER_PROJECT = "gcs.user-project"` to `pyiceberg/io/__init__.py`. - In `pyiceberg/io/fsspec.py` (`_gs`), passes `gcs.user-project` to `GCSFileSystem(requester_pays=...)` (which `gcsfs` accepts as either `bool` or a billing project `str`) when `gcs.requester-pays` is absent. - Preserves native-key precedence: when `gcs.requester-pays` is explicitly set, it takes precedence over `gcs.user-project`. - Documents `gcs.user-project` in `mkdocs/docs/configuration.md`. - Adds parametrized unit tests in `tests/io/test_fsspec.py` covering defaults, fallback, empty values, and native-key precedence. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
