Skip to content

Commit

Permalink
chore: cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed Aug 22, 2024
1 parent ab8aeb9 commit 9f53a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flow/src/expr/relation/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ impl std::iter::Iterator for VectorDiffIter {
return None;
}
let value = self.vector.get(self.idx);
// +1 means insert, -1 means delete, and default to +1 insert when diff is not provided
let diff = if let Some(diff) = self.diff.as_ref() {
if let Ok(diff_at) = diff.get(self.idx).try_into() {
diff_at
Expand Down

0 comments on commit 9f53a07

Please sign in to comment.