chore: minor comment fix

This commit is contained in:
shuiyisong
2023-06-20 10:52:55 +08:00
parent fd37d4630c
commit 8bc28313d3
2 changed files with 2 additions and 3 deletions

View File

@@ -236,7 +236,6 @@ impl Instance {
}
};
// let factory = QueryEngineFactory::new(catalog_manager.clone(), false);
let factory = QueryEngineFactory::new_with_plugins(
catalog_manager.clone(),
false,

View File

@@ -17,8 +17,8 @@ use std::sync::Arc;
use common_query::physical_plan::PhysicalPlan;
use session::context::QueryContextRef;
/// allow physical plan to be wrapped by other physical plan
/// e.g. add metrics to a physical plan
/// wrap physical plan with additional logic
/// e.g: metrics retrieving layer upon physical plan
pub trait PhysicalWrapper: Send + Sync + 'static {
fn wrap(&self, origin: Arc<dyn PhysicalPlan>, ctx: QueryContextRef) -> Arc<dyn PhysicalPlan>;
}