mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 17:00:37 +00:00
chore: minor comment fix
This commit is contained in:
@@ -236,7 +236,6 @@ impl Instance {
|
||||
}
|
||||
};
|
||||
|
||||
// let factory = QueryEngineFactory::new(catalog_manager.clone(), false);
|
||||
let factory = QueryEngineFactory::new_with_plugins(
|
||||
catalog_manager.clone(),
|
||||
false,
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user