antonioalegria commented on issue #40539:
URL: https://github.com/apache/arrow/issues/40539#issuecomment-2454634172

   I'm facing this issue when doing a scan_iceberg operation in Polars. It only 
happens with certain objects:
   
   When reading information for key '<REDACTED>' in bucket '<REDACTED>': AWS 
Error NETWORK_CONNECTION during HeadObject operation: curlCode: 6, Couldn't 
resolve host name
   Traceback (most recent call last):
     <REDACTED>
     File "<REDACTED>", line 351, in scan_table
       return pl.scan_iceberg(location)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
     File "<REDACTED>/.venv/lib/python3.12/site-packages/polars/io/iceberg.py", 
line 143, in scan_iceberg
       source = StaticTable.from_metadata(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"<REDACTED>/.venv/lib/python3.12/site-packages/pyiceberg/table/__init__.py", 
line 1693, in from_metadata
       metadata = FromInputFile.table_metadata(file)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"<REDACTED>/.venv/lib/python3.12/site-packages/pyiceberg/serializers.py", line 
113, in table_metadata
       with input_file.open() as input_stream:
            ^^^^^^^^^^^^^^^^^
     File 
"<REDACTED>/.venv/lib/python3.12/site-packages/pyiceberg/io/pyarrow.py", line 
270, 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 '<REDACTED>' in bucket 
'<REDACTED>': AWS Error NETWORK_CONNECTION during HeadObject operation: 
curlCode: 6, Couldn't resolve host name
   ```


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to