AlenkaF commented on PR #13629:
URL: https://github.com/apache/arrow/pull/13629#issuecomment-1190572971

   I think some of the failures are related:
   
   ```python
   =================================== FAILURES 
===================================
   _______________________ test_metadata_schema_filesystem 
________________________
   tmpdir = 
local('/tmp/pytest-of-root/pytest-0/test_metadata_schema_filesyste0')
       def test_metadata_schema_filesystem(tmpdir):
           table = pa.table({"a": [1, 2, 3]})
           # URI writing to local file.
           fname = "data.parquet"
           file_path = 'file:///' + os.path.join(str(tmpdir), fname)
           pq.write_table(table, file_path)
           # Get expected `metadata` from path.
           metadata = pq.read_metadata(tmpdir / fname)
           schema = table.schema
           assert pq.read_metadata(file_path).equals(metadata)
   >       assert pq.read_metadata(
               fname, filesystem=f'file:///{tmpdir}').equals(metadata)
   
opt/conda/envs/arrow/lib/python3.8/site-packages/pyarrow/tests/parquet/test_metadata.py:553:
 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   
opt/conda/envs/arrow/lib/python3.8/site-packages/pyarrow/parquet/__init__.py:3425:
 in read_metadata
       file = ParquetFile(where, memory_map=memory_map,
   
opt/conda/envs/arrow/lib/python3.8/site-packages/pyarrow/parquet/__init__.py:287:
 in __init__
       self.reader.open(
   pyarrow/_parquet.pyx:1225: in pyarrow._parquet.ParquetReader.open
       ???
   pyarrow/io.pxi:1674: in pyarrow.lib.get_reader
       ???
   pyarrow/io.pxi:1665: in pyarrow.lib.get_native_file
       ???
   pyarrow/io.pxi:943: in pyarrow.lib.OSFile.__cinit__
       ???
   pyarrow/io.pxi:953: in pyarrow.lib.OSFile._open_readable
       ???
   pyarrow/error.pxi:144: in pyarrow.lib.pyarrow_internal_check_status
       ???
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ 
   >   ???
   E   FileNotFoundError: [Errno 2] Failed to open local file 'data.parquet'. 
Detail: [errno 2] No such file or directory
   ```


-- 
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]

Reply via email to