alamb opened a new issue, #8277:
URL: https://github.com/apache/arrow-datafusion/issues/8277

   ### Is your feature request related to a problem or challenge?
   
   Right now, it is not possible to create an empty external table to write
   
   ```sql
   ❯ create external table foo stored as parquet location '/tmp/foo';
   IO error: No such file or directory (os error 2)
   ```
   
   
   
   ### Describe the solution you'd like
   
   I would like to be able to create a new external table with a directory that 
doesn't exist and then have datafusion create the directory on first write 
   
   ```
   create external table foo(x int) stored as parquet location '/tmp/foo/';
   insert into foo values (1);
   ```
   
   And then have a file written into `/tmp/foo/name.parquet` 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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