rmnskb opened a new pull request, #48008: URL: https://github.com/apache/arrow/pull/48008
### Rationale for this change See #47728. Check `source` argument in `pyarrow.parquet.read_table` if `pyarrow.dataset` is not available. ### What changes are included in this PR? Check the `source` argument, raise `ValueError` if the `source` argument is either a list of `.parquet` files or a directory. ### Are these changes tested? Yes ### Are there any user-facing changes? No In case if the `source` argument is a directory, I decided not to check it directly, but to catch the exceptions coming from the `fs.open_input_file`, since it already checks for it, and add extra exception on top of the stack that explains the actual reason. -- 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]
