kevinjqliu commented on PR #2291: URL: https://github.com/apache/iceberg-python/pull/2291#issuecomment-3184880450
``` fs.get_file_info(fs.FileSelector(path, recursive=False)) Traceback (most recent call last): File "", line 1, in AttributeError: 'pyarrow._hdfs.HadoopFileSystem' object has no attribute 'FileSelector' ``` this is actually a syntax problem, i also ran into this while testing. instead of `pyarrow.fs` which conflicts with the `fs` object we defined for `HadoopFileSystem`, can you try ``` from pyarrow.fs import FileSelector fs.get_file_info(FileSelector(path, recursive=False)) ``` -- 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 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