pub fn create_standard_pipeline(verbose: bool) -> PreprocessingPipelineExpand description
Create a standard preprocessing pipeline with all default transformers
The transformers are applied in this order:
- ExpressionLifter - Lifts column alias dependencies and window functions
- WhereAliasExpander - Expands SELECT aliases in WHERE clauses
- GroupByAliasExpander - Expands SELECT aliases in GROUP BY clauses
- HavingAliasTransformer - Adds aliases to aggregates and rewrites HAVING
- CTEHoister - Hoists nested CTEs to top level
- InOperatorLifter - Optimizes large IN expressions
§Arguments
verbose- Whether to enable verbose logging
§Example
ⓘ
let mut pipeline = create_standard_pipeline(false);
let transformed = pipeline.process(statement)?;