sergiimk commented on issue #7423:
URL: 
https://github.com/apache/arrow-datafusion/issues/7423#issuecomment-1694419407

   Note: Switching to `SessionContext::write_parquet` didn't work right away, 
resulting in `IoError(Os { code: 2, kind: NotFound, message: "No such file or 
directory" })`.
   
   The source of the error was [this call to 
`.canonicalize()`](https://github.com/apache/arrow-datafusion/blob/30.0.0/datafusion/core/src/datasource/listing/url.rs#L129)
 that seems to expect that destination path exists. I worked around this by 
creating an empty directory before saving to Parquet.


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