jorisvandenbossche commented on PR #14764:
URL: https://github.com/apache/arrow/pull/14764#issuecomment-1331923976

   > I suppose that's because "foo.parquet" in that case is a valid (local) URL
   
   So is "foo.parquet" considered a valid local URL, but "例.parquet" not? 
(because URLs cannot have multi-byte characters?)
   
   But in any case, our LocalFileSystem works with local paths and does support 
such file names for example when inspecting with `get_file_info` (I created two 
empty files with those names):
   
   ```
   In [1]: from pyarrow.fs import LocalFileSystem
   
   In [2]: fs = LocalFileSystem()
   
   In [3]: fs.get_file_info("foo.parquet")
   Out[3]: <FileInfo for 'foo.parquet': type=FileType.File, size=0>
   
   In [4]: fs.get_file_info("例.parquet")
   Out[4]: <FileInfo for '例.parquet': type=FileType.File, size=0>
   ```
   
   So since that the filesystem object itself can handle it, it seems there is 
going something wrong with how this is called in `write_table`.
   
   


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