diff --git a/datafusion/sql/src/planner.rs b/datafusion/sql/src/planner.rs index 3c7d348676cac..c8bd77dd8af9d 100644 --- a/datafusion/sql/src/planner.rs +++ b/datafusion/sql/src/planner.rs @@ -215,9 +215,8 @@ impl PlannerContext { pub struct SqlToRel<'a, S: ContextProvider> { pub(crate) context_provider: &'a S, pub(crate) options: ParserOptions, - pub(crate) normalizer: IdentNormalizer, - /// user defined planner extensions - pub(crate) planners: Vec>, + pub(crate) ident_normalizer: IdentNormalizer, + pub(crate) value_normalizer: ValueNormalizer, } impl<'a, S: ContextProvider> SqlToRel<'a, S> { @@ -234,8 +233,8 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { SqlToRel { context_provider, options, - normalizer: IdentNormalizer::new(normalize), - planners: vec![], + ident_normalizer: IdentNormalizer::new(ident_normalize), + value_normalizer: ValueNormalizer::new(options_value_normalize), } }