You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "rosner (via GitHub)" <gi...@apache.org> on 2023/02/21 10:07:28 UTC
[GitHub] [iceberg] rosner commented on a diff in pull request #6822: Python: Set PyArrow as the default FileIO
rosner commented on code in PR #6822:
URL: https://github.com/apache/iceberg/pull/6822#discussion_r1112840867
##########
python/pyiceberg/io/__init__.py:
##########
@@ -254,10 +254,10 @@ def delete(self, location: Union[str, InputFile, OutputFile]) -> None:
# Mappings from the Java FileIO impl to a Python one. The list is ordered by preference.
# If an implementation isn't installed, it will fall back to the next one.
SCHEMA_TO_FILE_IO: Dict[str, List[str]] = {
- "s3": [FSSPEC_FILE_IO, ARROW_FILE_IO],
- "s3a": [FSSPEC_FILE_IO, ARROW_FILE_IO],
- "s3n": [FSSPEC_FILE_IO, ARROW_FILE_IO],
- "gcs": [ARROW_FILE_IO],
+ "s3": [ARROW_FILE_IO, FSSPEC_FILE_IO],
+ "s3a": [ARROW_FILE_IO, FSSPEC_FILE_IO],
+ "s3n": [ARROW_FILE_IO, FSSPEC_FILE_IO],
+ "gs": [ARROW_FILE_IO],
Review Comment:
👏
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org