Skip to content

Commit

Permalink
remove dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
st1page committed Jan 5, 2024
1 parent 8e78baf commit 9851961
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/frontend/src/optimizer/rule/stream/split_now_and_rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,13 @@ impl Rule for SplitNowAndRule {
{
return None;
}
dbg!(plan.explain_to_string());

let [with_now, others] =
filter
.predicate()
.clone()
.group_by::<_, 2>(|e| if e.count_nows() > 0 { 0 } else { 1 });

dbg!(with_now.to_string());
dbg!(others.to_string());

let mut plan = LogicalFilter::create(input, others).into();
for e in with_now.into_iter() {
plan = LogicalFilter::new(
Expand All @@ -78,7 +74,6 @@ impl Rule for SplitNowAndRule {
)
.into();
}
dbg!(plan.explain_to_string());
Some(plan)
}
}
Expand Down

0 comments on commit 9851961

Please sign in to comment.