Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,17 @@ fn default_optimizer_pipeline() -> HepOptimizerPipeline {
.after_batch(
"Parameterize Mark Apply".to_string(),
HepBatchStrategy::once_topdown(),
vec![NormalizationRuleImpl::ParameterizeMarkApply],
vec![
NormalizationRuleImpl::ParameterizeMarkApply,
NormalizationRuleImpl::ParameterizeInnerJoin,
],
)
// Only discard predicates after parameterization has chosen the final
// lookup. A Probe must not inherit residuals from a replaced static range.
.after_batch(
"Eliminate Index Filter".to_string(),
HepBatchStrategy::once_topdown(),
vec![NormalizationRuleImpl::EliminateIndexFilter],
)
.after_batch(
"Expression Remapper".to_string(),
Expand Down
Loading
Loading