Skip to content

Commit

Permalink
fix monotonicity for StreamEowcOverWindow
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Jul 17, 2024
1 parent 27444b5 commit 0141a2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use super::stream::prelude::*;
use super::utils::{impl_distill_by_unit, TableCatalogBuilder};
use super::{ExprRewritable, PlanBase, PlanRef, PlanTreeNodeUnary, StreamNode};
use crate::optimizer::plan_node::expr_visitable::ExprVisitable;
use crate::optimizer::property::MonotonicityMap;
use crate::stream_fragmenter::BuildFragmentGraphState;
use crate::TableCatalog;

Expand Down Expand Up @@ -58,7 +59,8 @@ impl StreamEowcOverWindow {
true,
true,
watermark_columns,
input.columns_monotonicity().clone(),
// we cannot derive monotonicity for any column for the same reason as watermark columns
MonotonicityMap::new(),
);
StreamEowcOverWindow { base, core }
}
Expand Down

0 comments on commit 0141a2b

Please sign in to comment.