huaxingao commented on a change in pull request #25885: [spark-28813][DOC][SQL] Document SHOW CREATE TABLE in SQL Reference URL: https://github.com/apache/spark/pull/25885#discussion_r326922952
########## File path: docs/sql-ref-syntax-aux-show-create-table.md ########## @@ -19,4 +19,39 @@ license: | limitations under the License. --- -**This page is under construction** +### Description +`SHOW CREATE TABLE` returns the `CREATE TABLE` statement that creates a given table. `SHOW CREATE TABLE` on a non-existent table throws Exception. Review comment: Yes, this works on a view. I will add it. ---------------------------------------------------------------- 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]
