feat: add IF EXISTS for DROP (#123)

* feat: add IF EXISTS for DROP

For https://github.com/GreptimeTeam/greptimedb/issues/2794

* generate code

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Junfan Zhang
2023-11-24 16:40:12 +08:00
committed by GitHub
parent 2b3ae45740
commit 2aaee38de8
6 changed files with 323 additions and 175 deletions
+1
View File
@@ -66,6 +66,7 @@ message DropTableExpr {
string schema_name = 2;
string table_name = 3;
TableId table_id = 4;
bool drop_if_exists = 5;
}
message CreateDatabaseExpr {