omkenge opened a new issue, #1541:
URL: https://github.com/apache/iceberg-python/issues/1541

   ### Question
   
   **.pyiceberg.yaml**
   default-catalog: local
   catalog:
       local:
           uri: http://127.0.0.1:8181
           s3.endpoint: http://127.0.0.1:9000
           py-io-impl: pyiceberg.io.pyarrow.PyArrowFileIO
           s3.access-key-id: admin
           s3.secret-access-key: password
   
   **script**
   from pyiceberg.catalog import load_catalog
   catalog=load_catalog("default")
   tbl=catalog.load_table("nyc.taxis")
   print(tbl.scan().to_arrow())
   **Error**
   (pyiceberg-py3.11) PS D:\pyiceberg> python -u 
"d:\pyiceberg\pyiceberg\catalog\ok.py"
   PyArrow FileIO overriding S3 bucket region for bucket warehouse: provided 
region None, actual region eu-central-1
   Traceback (most recent call last):
     File "d:\pyiceberg\pyiceberg\catalog\ok.py", line 4, in <module>
       print(tbl.scan().to_arrow())
             ^^^^^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\table\__init__.py", line 1567, in to_arrow
       ).to_table(self.plan_files())
                  ^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\table\__init__.py", line 1498, in plan_files
       for manifest_file in snapshot.manifests(self.io)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\table\snapshots.py", line 256, in manifests
       return list(_manifests(io, self.manifest_list))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"C:\Users\Om\AppData\Local\pypoetry\Cache\virtualenvs\pyiceberg-ML62-61R-py3.11\Lib\site-packages\cachetools\__init__.py",
 line 752, in wrapper
       v = func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\manifest.py", line 644, in _manifests
       return tuple(read_manifest_list(file))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\manifest.py", line 657, in read_manifest_list
       with AvroFile[ManifestFile](
     File "D:\pyiceberg\pyiceberg\avro\file.py", line 170, in __enter__
       with self.input_file.open() as f:
            ^^^^^^^^^^^^^^^^^^^^^^
     File "D:\pyiceberg\pyiceberg\io\pyarrow.py", line 278, in open
       input_file = self._filesystem.open_input_file(self._path)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "pyarrow\\_fs.pyx", line 789, in 
pyarrow._fs.FileSystem.open_input_file
     File "pyarrow\\error.pxi", line 155, in 
pyarrow.lib.pyarrow_internal_check_status
     File "pyarrow\\error.pxi", line 92, in pyarrow.lib.check_status
   OSError: When reading information for key 
'nyc/taxis/metadata/snap-359702608079830174-1-e53ed230-4668-4e99-b77d-138283a9e73d.avro'
 in bucket 'warehouse': AWS Error ACCESS_DENIED during HeadObject operation: No 
response body.
   
   
![Image](https://github.com/user-attachments/assets/6c9b8856-2171-4f8e-af6a-26d93fe2bfcb)


-- 
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-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to