Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion materialize-boilerplate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (v Validator) ValidateBinding(
// We allow a binding to switch from standard => delta updates but not the other
// way. This is because a standard materialization is trivially a valid
// delta-updates materialization.
return nil, fmt.Errorf("changing from delta updates to standard updates is not allowed")
return nil, fmt.Errorf("Changing from delta updates to standard updates is not allowed. Please click the backfill button first before disabling delta updates.")
} else if constraints, err = v.validateMatchesExistingResource(*existingResource, lastBinding, boundCollection, deltaUpdates, fieldConfigJsonMap); err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion materialize-boilerplate/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func TestValidate(t *testing.T) {
existing,
)

require.ErrorContains(t, err, "changing from delta updates to standard updates is not allowed")
require.ErrorContains(t, err, "Changing from delta updates to standard updates is not allowed. Please click the backfill button first before disabling delta updates.")

// Disabled -> enabled binding also errors.
_, err2 := validator.ValidateBinding(
Expand Down
Loading