Skip to content

Commit

Permalink
materialize-snowflake: unset internal state for empty bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Jan 26, 2024
1 parent 569e4a3 commit e6634b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions materialize-snowflake/snowflake.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ func (d *transactor) Store(it *m.StoreIterator) (m.StartCommitFunc, error) {
// we don't run queries belonging to bindings that have been removed
for _, b := range d.bindings {
if !b.store.stage.started {
delete(d.cp, b.target.StateKey)
continue
}

Expand Down

0 comments on commit e6634b6

Please sign in to comment.