Skip to content

Commit

Permalink
ignore watermarks
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Aug 7, 2024
1 parent 84c656f commit 66ecdea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stream/src/executor/approx_percentile/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl<S: StateStore> GlobalApproxPercentileExecutor<S> {

yield Message::Barrier(barrier);
}
m => yield m,
Message::Watermark(_) => {}
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/stream/src/executor/approx_percentile/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ impl LocalApproxPercentileExecutor {
yield Message::Chunk(chunk);
}
}
m => yield m,
b @ Message::Barrier(_) => yield b,
Message::Watermark(_) => {}
}
}
}
Expand Down

0 comments on commit 66ecdea

Please sign in to comment.