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,