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

   ### Is your feature request related to a problem or challenge?
   
   @tinfoil-knight  added backwards compatibility to the COPY command format 
options in version 37.0.0 via  
https://github.com/apache/arrow-datafusion/pull/9744
   
   So now this format is supported (similar to duckdb)
   
   ```sql
   COPY (select * from (values (1))) to 'test_files/scratch/copy/'
   OPTIONS (format json, compression gzip);
   ```
   
   
   However, the newer more consistent syntax looks like
   ```sql
   COPY (select * from (values (1))) to 'test_files/scratch/copy/'
   STORED AS JSON
   OPTIONS (compression gzip);
   ```
   
   @metesynnada  asked 
https://github.com/apache/arrow-datafusion/pull/9753#pullrequestreview-1970055037
 if we should phase out the old (`format json`) syntax
   
   ### Describe the solution you'd like
   
   Decide if  filing this ticket to discuss
   
   ### 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