From 20e8c3d864bd1fc4baf26ee273a03d46c8c7d399 Mon Sep 17 00:00:00 2001 From: Jeremyhi Date: Thu, 18 Apr 2024 13:36:37 +0800 Subject: [PATCH] chore: remove TableIdProvider (#3733) --- src/table/src/table.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/table/src/table.rs b/src/table/src/table.rs index 27e410d27c8..a0a45a07395 100644 --- a/src/table/src/table.rs +++ b/src/table/src/table.rs @@ -22,7 +22,7 @@ use store_api::data_source::DataSourceRef; use store_api::storage::ScanRequest; use crate::error::{Result, TablesRecordBatchSnafu}; -use crate::metadata::{FilterPushDownType, TableId, TableInfoRef, TableType}; +use crate::metadata::{FilterPushDownType, TableInfoRef, TableType}; pub mod adapter; mod metrics; @@ -31,13 +31,6 @@ pub mod scan; pub type TableRef = Arc; -#[async_trait::async_trait] -pub trait TableIdProvider { - async fn next_table_id(&self) -> Result; -} - -pub type TableIdProviderRef = Arc; - /// Table handle. pub struct Table { table_info: TableInfoRef,