You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/03 12:52:58 UTC

[GitHub] [arrow-datafusion] kszucs opened a new issue #491: [Python] Support pathlib.Path arguments for ExecutionContext.register_ methods

kszucs opened a new issue #491:
URL: https://github.com/apache/arrow-datafusion/issues/491


   Currently it expects a python string:
   
   ```python
       def test_register(ctx, tmp_path):
           path = write_parquet(tmp_path / "a.parquet", data())
   >       ctx.register_parquet("t", path)
   E       TypeError: argument 'path': 'PosixPath' object cannot be converted to 'PyString'
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org