You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/11/20 12:53:44 UTC

[I] Allow creating external tables with directories that don't exist [arrow-datafusion]

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: github-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] Allow creating external tables with directories that don't exist [arrow-datafusion]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #8277: Allow creating external tables with directories that don't exist
URL: https://github.com/apache/arrow-datafusion/issues/8277


-- 
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: github-unsubscribe@arrow.apache.org

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