From 63e18f07877d4d5b409a73585c79bc7954f2b094 Mon Sep 17 00:00:00 2001 From: Xin Li Date: Thu, 18 Jul 2024 09:14:11 +0800 Subject: [PATCH] Cleanup history --- datafusion/sql/src/planner.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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), } }