AlenkaF commented on code in PR #39438:
URL: https://github.com/apache/arrow/pull/39438#discussion_r1489017919


##########
python/pyarrow/parquet/core.py:
##########
@@ -1327,17 +1327,15 @@ def __init__(self, path_or_paths, filesystem=None, 
schema=None, *, filters=None,
                     except ValueError:
                         filesystem = LocalFileSystem(use_mmap=memory_map)
                 finfo = filesystem.get_file_info(path_or_paths)
-                if finfo.is_file:
-                    single_file = path_or_paths

Review Comment:
   Thank you for the answer! Sorry for responding late.
   
   It makes sense what you are saying but in the code we are still creating a 
fragment with the current `buffer_reader` (couple of lines bellow) meaning we 
still have a separate approach for "single_file"/`buffer_reader`?



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