hveiga commented on code in PR #9931:
URL: https://github.com/apache/arrow-datafusion/pull/9931#discussion_r1550591823


##########
docs/source/user-guide/sql/write_options.md:
##########
@@ -53,26 +53,18 @@ Finally, options can be passed when running a `COPY` 
command.
 ```sql
 COPY source_table
 TO 'test/table_with_options'
-(format parquet,
-compression snappy,
-'compression::col1' 'zstd(5)',
-partition_by 'column3, column4'
+OPTIONS (
+  format parquet,
+  compression snappy,
+  'compression::col1' 'zstd(5)',
+  partition_by 'column3, column4'

Review Comment:
   Is this the correct format? Based on 
https://github.com/apache/arrow-datafusion/issues/9927  the `partition_by` has 
moved to the DML and it should be something like: `COPY t1 TO 
'/tmp/hive_output/' PARTITIONED BY (col1) OPTIONS (format parquet);`



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