Skip to content

Commit

Permalink
debug windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 3, 2022
1 parent cd24003 commit f4133ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/pyarrow/tests/test_dataset.py
Expand Up @@ -2594,7 +2594,7 @@ def test_file_format_inspect_fsspec(tempdir):

# read using fsspec filesystem
fsspec_fs = fsspec.filesystem("file")
assert fsspec_fs.ls(tempdir) == [str(path)]
assert fsspec_fs.ls(tempdir)[0].endswith("data.parquet")

# inspect using dataset file format
format = ds.ParquetFileFormat()
Expand Down Expand Up @@ -3133,6 +3133,9 @@ def test_parquet_dataset_factory_fsspec(tempdir):
# filesystem would internally be converted to native LocalFileSystem
filesystem = fs.PyFileSystem(fs.FSSpecHandler(fsspec_fs))
dataset = ds.parquet_dataset(metadata_path, filesystem=filesystem)
print(metadata_path)
print(dataset.files)
print(list(dataset.get_fragments())[0].path)
assert dataset.schema.equals(table.schema)
assert len(dataset.files) == 4
result = dataset.to_table()
Expand Down

0 comments on commit f4133ec

Please sign in to comment.