tustvold commented on issue #8068:
URL: 
https://github.com/apache/arrow-datafusion/issues/8068#issuecomment-1798269380

   > LocalFileSystem::new_with_prefix(&project_dir)
   
   You are creating a LocalFileSystem with a given prefix, and then addressing 
the file `home/trueleo/rust/datafusion-localfs-test/data.parquet`
   
   As can be seen in the error message, this gets resolved to
   
   ```
   
/home/trueleo/rust/datafusion-localfs-test/home/trueleo/rust/datafusion-localfs-test/data.parquet
   ```
   
   There are two solutions here:
   
   * Initialize the filesystem with `LocalFileSystem::new`
   * Use a relative path in the file URI
   
   


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