AlenkaF commented on issue #37555:
URL: https://github.com/apache/arrow/issues/37555#issuecomment-1706163020

   And I can confirm that the differences in the tests are due to the root dir 
also being returned with the new `fsspec` version. From the fsspec PR 
description from above:
   
   > New rules:
   > * the root dir is returned when using find. It is because of the posix ** 
rule compliance. For example, it should return an empty string among the other 
paths when using ** or return ab among the other paths when using ab/**.
   
   As the documentation about 
[get_file_info](https://arrow.apache.org/docs/python/generated/pyarrow.fs.PyFileSystem.html#pyarrow.fs.PyFileSystem.get_file_info)
 doesn't state anything about the root dir being included or not and because 
the `PyFileSystem` is based on `fsspec` I think we should only update the tests 
to reflect the change in the `fsspec` library vs. changing the 
`get_file_info()` function to keep the previous behaviour (ignoring root dir).
   @danepitkin @raulcd what do you think?
   
   Will prepare a PR to update the tests to start with.


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