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

   ### Describe the bug
   
   https://github.com/apache/arrow-datafusion/pull/9604 from @metesynnada  
rationalized the `COPY` syntax to match `CREATE EXTERNAL TABLE` syntax. For 
example
   
   ```diff
   - COPY (SELECT * FROM 'hits.parquet' LIMIT 10) TO 
'clickbench_hits_10.parquet' (FORMAT PARQUET);
   + COPY (SELECT * FROM 'hits.parquet' LIMIT 10) TO 
'clickbench_hits_10.parquet' STORED AS PARQUET;
   ```
   
   However, this also means the syntax is no longer compatible with duckdb
   
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   I would like to support the former syntax  as well as the new one
   
   So both
   
   ```
   COPY (SELECT * FROM 'hits.parquet' LIMIT 10) TO 'clickbench_hits_10.parquet' 
(FORMAT PARQUET);
   ```
   
   ### 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