From 260735bc388884ae0cd200ad7e07c63564907321 Mon Sep 17 00:00:00 2001 From: Liuqing Yue Date: Fri, 1 Nov 2024 16:56:27 +0800 Subject: [PATCH] clippy --- src/query/service/tests/it/sql/exec/get_table_bind_test.rs | 5 +++++ .../service/tests/it/storages/fuse/operations/commit.rs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/query/service/tests/it/sql/exec/get_table_bind_test.rs b/src/query/service/tests/it/sql/exec/get_table_bind_test.rs index a6a9d08a1957..6b4aaf93c707 100644 --- a/src/query/service/tests/it/sql/exec/get_table_bind_test.rs +++ b/src/query/service/tests/it/sql/exec/get_table_bind_test.rs @@ -22,6 +22,7 @@ use dashmap::DashMap; use databend_common_base::base::tokio; use databend_common_base::base::Progress; use databend_common_base::base::ProgressValues; +use databend_common_base::runtime::Runtime; use databend_common_catalog::catalog::Catalog; use databend_common_catalog::cluster_info::Cluster; use databend_common_catalog::database::Database; @@ -1000,6 +1001,10 @@ impl TableContext for CtxDelegation { fn is_temp_table(&self, _catalog_name: &str, _database_name: &str, _table_name: &str) -> bool { false } + + fn get_runtime(&self) -> Result> { + todo!() + } } #[tokio::test(flavor = "multi_thread")] diff --git a/src/query/service/tests/it/storages/fuse/operations/commit.rs b/src/query/service/tests/it/storages/fuse/operations/commit.rs index d10f809569b0..181e42e6ca76 100644 --- a/src/query/service/tests/it/storages/fuse/operations/commit.rs +++ b/src/query/service/tests/it/storages/fuse/operations/commit.rs @@ -21,6 +21,7 @@ use dashmap::DashMap; use databend_common_base::base::tokio; use databend_common_base::base::Progress; use databend_common_base::base::ProgressValues; +use databend_common_base::runtime::Runtime; use databend_common_catalog::catalog::Catalog; use databend_common_catalog::cluster_info::Cluster; use databend_common_catalog::database::Database; @@ -886,6 +887,10 @@ impl TableContext for CtxDelegation { fn is_temp_table(&self, _catalog_name: &str, _database_name: &str, _table_name: &str) -> bool { false } + + fn get_runtime(&self) -> Result> { + todo!() + } } #[derive(Clone, Debug)]