AlenkaF commented on PR #47197:
URL: https://github.com/apache/arrow/pull/47197#issuecomment-3173970649

   For the file path handling, we could follow the same approach used for the 
sink parameter in 
[ipc.new_file](https://arrow.apache.org/docs/dev/python/generated/pyarrow.ipc.new_file.html),
 where a `str` is accepted and documented simply as `a file path`.
   
   Additionally, it might be good to add a test case using a plain `str` 
alongside `pathlib.Path` in the existing test here:
   
https://github.com/apache/arrow/blob/db1a8a9bf42bec2b643fc19d8e174dd5166cd621/python/pyarrow/tests/test_ipc.py#L227-L238


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