Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
  • Loading branch information
BugenZhao committed Feb 28, 2023
1 parent 1c0c361 commit e2f448b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/stream/src/executor/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,9 +779,10 @@ impl<K: HashKey, S: StateStore, const T: JoinTypePrimitive> HashJoinExecutor<K,
.positions(|idx| *idx == watermark.col_idx);
let mut watermarks_to_emit = vec![];
for idx in wm_in_jk {
let buffers = self.watermark_buffers.entry(idx).or_insert_with(|| {
BufferedWatermarks::with_ids([SideType::Left, SideType::Right])
});
let buffers = self
.watermark_buffers
.entry(idx)
.or_insert_with(|| BufferedWatermarks::with_ids([SideType::Left, SideType::Right]));
if let Some(selected_watermark) = buffers.handle_watermark(side, watermark.clone()) {
let empty_indices = vec![];
let output_indices = side_update
Expand Down

0 comments on commit e2f448b

Please sign in to comment.