You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/26 13:50:48 UTC
[GitHub] [arrow-datafusion] kmitchener commented on a diff in pull request #3267: implement `drop view`
kmitchener commented on code in PR #3267:
URL: https://github.com/apache/arrow-datafusion/pull/3267#discussion_r956064732
##########
docs/source/user-guide/sql/ddl.md:
##########
@@ -94,14 +94,28 @@ CREATE TABLE memtable as select * from valuetable;
## DROP TABLE
-The table can be deleted.
+Removes the table from DataFusion's catalog.
-```
-DROP TABLE [ IF EXISTS ] name
-```
+<pre>
+DROP TABLE [ IF EXISTS ] <b><i>table_name</i></b>;
+</pre>
```sql
CREATE TABLE users AS VALUES(1,2),(2,3);
-
DROP TABLE users;
+-- or use 'if exists' to silently ignore if the table doesn't exist
+DROP TABLE IF EXISTS nonexistent_table;
+```
+
+## DROP VIEW
+
+Removes the view from DataFusion's catalog.add
Review Comment:
yep. fixed, thanks.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org