Skip to content

MaterializationSet in DAB: Test the recreate approval for mutating a materialization set member's membership key field - #7370

Open
Daniel114510 wants to merge 2 commits into
mainfrom
fs2621-matset-recreate-approval
Open

Daniel114510 wants to merge 2 commits into
mainfrom
fs2621-matset-recreate-approval

Conversation

@Daniel114510

@Daniel114510 Daniel114510 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Changes

Extends the materialization_sets/immutable acceptance case to include:

  • Changing the feature name a materialized feature member in a materialization set refers to leads to a recreate with an approval message, and --auto-approve rebuilds the set.
  • Changing the trigger from DERIVED to MANUAL mode for a materialized feature member in a materialization set leads to a recreate with an approval message, and --auto-approve rebuilds the set.

Both fields (feature name, trigger) is part of the composite key of a materialized feature member of a materialization set.

Why

The existing acceptance tests for materialization set does not contain changing the fields of a materialized feature that constitute its composite key leads to recreate.

Tests

  • materialization_sets/immutable — passed locally
  • The same case with fs2621-dms-feature-matset applied — passed on both DMS legs

… recreating the set

The immutable case now deploys both changes. Each plans a recreate, a deploy that cannot prompt
stops at the set's approval message, and with approval the set is rebuilt and plans clean. The
rename also prints the warning that the member is not in the deployed set; the trigger change
keeps the member key, so it recreates through the trigger's immutable rule without that warning.

Co-authored-by: Isaac <no-reply@databricks.com>
@Daniel114510 Daniel114510 changed the title acc: Test the recreate approval for a renamed materialization set member and a DERIVED trigger MaterializationSet in DAB: Test the recreate approval for mutating a materialization set member's membership key field Nov 5, 2026
@github-actions github-actions Bot added the DABs DABs related issues label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Commit: ee209e5ac | Workflow run

Regression test report

Selected 1 changed tests (limit=20, 0 not selected)

1 tests: regression=0 unreleased=0 coverage=1 failing=0
test branch main (7adc80d) latest (v1.24.0)
TestAccept/bundle/resources/materialization_sets/immutable/DMS= ✅ ✅ ✅

…r references

The phase points the set's materialized feature member at featb's feature name instead of feata's;
neither Feature View's own full name changes. Its titles, template name and template comments now
say so, rather than calling it a renamed member.

Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: ee209e5

Run: 41964175288

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 273 15 4:42
✅​ aws-windows-latest-4core-16gb 275 13 4:51
✅​ azure linux-2core-8gb 272 15 4:30
✅​ azure-windows-latest-4core-16gb 274 13 4:50
✅​ gcp linux-2core-8gb 273 15 4:19
✅​ gcp-windows-latest-4core-16gb 275 13 4:40
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:41 aws-windows-latest-4core-16gb TestAccept
3:29 azure-windows-latest-4core-16gb TestAccept
3:27 gcp-windows-latest-4core-16gb TestAccept

@Daniel114510
Daniel114510 marked this pull request as ready for review November 5, 2026 18:37
@Daniel114510
Daniel114510 requested review from a team as code owners November 5, 2026 18:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants