chore: remove TableIdProvider (#3733)

This commit is contained in:
Jeremyhi
2024-04-18 05:36:37 +00:00
committed by GitHub
parent 2a2a44883f
commit 20e8c3d864
+1 -8
View File
@@ -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<Table>;
#[async_trait::async_trait]
pub trait TableIdProvider {
async fn next_table_id(&self) -> Result<TableId>;
}
pub type TableIdProviderRef = Arc<dyn TableIdProvider + Send + Sync>;
/// Table handle.
pub struct Table {
table_info: TableInfoRef,