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

   ### Is your feature request related to a problem or challenge?
   
   We currently support reading Arrow files:
   
   
https://github.com/apache/arrow-datafusion/blob/95ba48bd2291dd5c303bdaf88cbb55c79d395930/datafusion/sqllogictest/test_files/arrow_files.slt#L1
   
   However, we  do not support writing them:
   
   ```
   ❯ copy (values (1)) to '/tmp/data.arrow';
   This feature is not implemented: Writer not implemented for this format
   ```
   
   
   
   ### Describe the solution you'd like
   
   I would like to be able to write to arrow files using the `COPY` command and 
`EXTERNAL TABLE`s 
   
   The idea would be to implement `create_writer_physical_plan`
   
   
https://github.com/apache/arrow-datafusion/blob/95ba48bd2291dd5c303bdaf88cbb55c79d395930/datafusion/core/src/datasource/file_format/arrow.rs#L51
   
   Following the model of the CSV file format and
   
https://github.com/apache/arrow-datafusion/blob/95ba48bd2291dd5c303bdaf88cbb55c79d395930/datafusion/core/src/datasource/file_format/csv.rs#L262-L290
   
   Then add tests in copy.slt and arrow_file.slt
   
   
   ### 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