Skip to content

Commit

Permalink
it should be the last datum
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed May 19, 2023
1 parent 3feb4d3 commit 7b6fb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/src/executor/backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ where
let key: &[Datum] = &[Some((arbitrary_vnode as i16).into())];
let row = self.state_table.get_row(key).await?;
let is_finished = if let Some(row) = row
&& let Some(is_finished) = row.datum_at(state_len -1)
&& let Some(is_finished) = row.datum_at(state_len + 1)
{
println!("is_finished? {:?}", is_finished);
is_finished.into_bool()
Expand Down

0 comments on commit 7b6fb52

Please sign in to comment.