From 167dfec7cc210564cf19097fffd4825ea7807bdd Mon Sep 17 00:00:00 2001 From: Junfan Zhang Date: Thu, 23 Nov 2023 16:41:46 +0800 Subject: [PATCH] feat: add IF EXISTS for DROP For https://github.com/GreptimeTeam/greptimedb/issues/2794 --- proto/greptime/v1/ddl.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/proto/greptime/v1/ddl.proto b/proto/greptime/v1/ddl.proto index 881cfae0..696cc8c7 100644 --- a/proto/greptime/v1/ddl.proto +++ b/proto/greptime/v1/ddl.proto @@ -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 {