dilipbiswal commented on a change in pull request #25533: [SPARK-28798][DOC][SQL]Document DROP TABLE/VIEW statement in SQL Reference. URL: https://github.com/apache/spark/pull/25533#discussion_r323597961
########## File path: docs/sql-ref-syntax-ddl-drop-table.md ########## @@ -19,4 +19,70 @@ license: | limitations under the License. --- -**This page is under construction** +### Description + +Deletes the table and removes the directory associated with this table from the file system +if this is not `EXTERNAL` table. If the table is not present it throws exception. + +In case of External table it only deletes the metadata from metastore database and it will not remove the directory Review comment: Nit: In case of External table, only the associated metadata information are removed from the metastore database. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org