From bd98a26ccaa24e3d26681a1054d2d21972755bd3 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Tue, 7 Mar 2023 10:52:42 +0800 Subject: [PATCH] chore: bump greptime-proto to latest(ad01872) (#1102) --- Cargo.lock | 2 +- src/api/Cargo.toml | 2 +- src/datanode/src/instance/grpc.rs | 1 + src/frontend/src/instance/distributed/grpc.rs | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6439d25f14..7049f98ff9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3043,7 +3043,7 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "greptime-proto" version = "0.1.0" -source = "git+https://github.com/GreptimeTeam/greptime-proto.git?rev=1599ae2a0d1d8f42ee23ed26e4ad7a7b34134c60#1599ae2a0d1d8f42ee23ed26e4ad7a7b34134c60" +source = "git+https://github.com/GreptimeTeam/greptime-proto.git?rev=ad0187295035e83f76272da553453e649b7570de#ad0187295035e83f76272da553453e649b7570de" dependencies = [ "prost", "tonic", diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml index 14c14546df..bc4f957659 100644 --- a/src/api/Cargo.toml +++ b/src/api/Cargo.toml @@ -10,7 +10,7 @@ common-base = { path = "../common/base" } common-error = { path = "../common/error" } common-time = { path = "../common/time" } datatypes = { path = "../datatypes" } -greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "1599ae2a0d1d8f42ee23ed26e4ad7a7b34134c60" } +greptime-proto = { git = "https://github.com/GreptimeTeam/greptime-proto.git", rev = "ad0187295035e83f76272da553453e649b7570de" } prost.workspace = true snafu = { version = "0.7", features = ["backtraces"] } tonic.workspace = true diff --git a/src/datanode/src/instance/grpc.rs b/src/datanode/src/instance/grpc.rs index 78e3e18194..8c229520fb 100644 --- a/src/datanode/src/instance/grpc.rs +++ b/src/datanode/src/instance/grpc.rs @@ -98,6 +98,7 @@ impl Instance { DdlExpr::Alter(expr) => self.handle_alter(expr).await, DdlExpr::CreateDatabase(expr) => self.handle_create_database(expr, query_ctx).await, DdlExpr::DropTable(expr) => self.handle_drop_table(expr).await, + DdlExpr::FlushTable(_) => todo!(), } } } diff --git a/src/frontend/src/instance/distributed/grpc.rs b/src/frontend/src/instance/distributed/grpc.rs index 76888ed63b..513e4cac84 100644 --- a/src/frontend/src/instance/distributed/grpc.rs +++ b/src/frontend/src/instance/distributed/grpc.rs @@ -57,6 +57,7 @@ impl GrpcQueryHandler for DistInstance { TableName::new(&expr.catalog_name, &expr.schema_name, &expr.table_name); self.drop_table(table_name).await } + DdlExpr::FlushTable(_) => todo!(), } } }