You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/10/14 06:31:58 UTC

[GitHub] [spark] cloud-fan commented on a change in pull request #34282: [SPARK-37003][DOC] Merge INSERT related doc into two part: 1. table 2. directory

cloud-fan commented on a change in pull request #34282:
URL: https://github.com/apache/spark/pull/34282#discussion_r728673241



##########
File path: docs/sql-ref-syntax-dml-insert-overwrite-directory.md
##########
@@ -21,31 +21,44 @@ license: |
 
 ### Description
 
-The `INSERT OVERWRITE DIRECTORY` statement overwrites the existing data in the directory with the new values using a given Spark file format. The inserted rows can be specified by value expressions or result from a query.
+The `INSERT OVERWRITE DIRECTORY` statement overwrites the existing data in the directory with the new values using following two formats:
+   
+   1. Spark file format such as `USING file_format [ OPTIONS ( ket = val [ , ... ] ) ]`.
+   2. Hive format using Hive `Serde` such as `[ ROW FORMAT row_format ] [ STORED AS file_format ]`. Hive support must be enabled to use this command.

Review comment:
       ```suggestion
      2. Hive format using Hive `Serde` such as `ROW FORMAT row_format, `STORED AS file_format`. Hive support must be enabled to use this command.
   ```




-- 
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: reviews-unsubscribe@spark.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org