srowen commented on a change in pull request #25522: [SPARK-28787][DOC][SQL]Document LOAD DATA statement in SQL Reference URL: https://github.com/apache/spark/pull/25522#discussion_r316333007
########## File path: docs/sql-ref-syntax-dml-load.md ########## @@ -19,4 +19,37 @@ license: | limitations under the License. --- -**This page is under construction** +### Description +The LOAD DATA statement can be used to load data from a file into a table or a partition in the table. The target table must not be temporary. A partition spec must be provided if and only if the target table is partitioned. The LOAD DATA statement is only supported for tables created using the Hive format. Review comment: Back-tick the reserved words for clarity. Nit: I'd write "..., or into a partition ..." to make sure it doesn't suggest it's the alternative to "from a file" ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
