Repository navigation
Address the FeatureSpec resource review follow-ups - #7519
Merged
Merged
Conversation
Review feedback on #7364 left for after the merge: the test server models the fixture SQL statements instead of per-test stubs, the fixture helpers are shared, the FeatureSpec approval prompts name every consequence, and capture_uc_dependencies shares one three-part-name helper. Co-authored-by: Isaac <no-reply@databricks.com>
Contributor
|
Commit: Regression test reportSelected 18 changed tests (limit=20, 0 not selected) 30 tests: regression=4 unreleased=0 coverage=26 failing=0
TestAccept/bundle/resources/feature_specs/basic/DMS=: branch ✅ | main (daad5b4) ❌ | latest (v1.26.0) ❌main (daad5b4): latest (v1.26.0): same output as main (daad5b4) TestAccept/bundle/resources/feature_specs/order/DMS=: branch ✅ | main (daad5b4) ❌ | latest (v1.26.0) ❌main (daad5b4): latest (v1.26.0): same output as main (daad5b4) TestAccept/bundle/resources/feature_specs/uppercase-name/DMS=: branch ✅ | main (daad5b4) ❌ | latest (v1.26.0) ❌main (daad5b4): latest (v1.26.0): same output as main (daad5b4) TestAccept/bundle/resources/grants/feature_specs/DMS=: branch ✅ | main (daad5b4) ❌ | latest (v1.26.0) ❌main (daad5b4): latest (v1.26.0): same output as main (daad5b4) |
Collaborator
✅ Integration test reportCommit: 41cc842
12 interesting tests: 12 flaky
Top 26 slowest tests (at least 2 minutes):
|
Daniel114510
marked this pull request as ready for review
November 12, 2026 00:34
rugpanov
removed their request for review
November 12, 2026 09:39
andrewnester
self-requested a review
November 12, 2026 09:51
andrewnester
approved these changes
Nov 12, 2026
The materialization set, quality monitor, Postgres synced table and synced database table tests only send CREATE TABLE and INSERT INTO statements, which the fallback answers. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Addresses the review feedback on #7364 that was still open at merge. Each item links the comments it answers.
POST /api/2.0/sql/statements/with the trailing slash the scripts send, and answersCREATE TABLE,CREATE FUNCTIONandINSERT INTOwith an emptySUCCEEDEDresult, as a fallback that a test's own matcher overrides. The[[Server]]stubs are gone from the feature spec, grants, bind, invariant andfeatures/lifecycletests.acceptance/bundle/script.prepare, which the feature spec, grants, bind and invariant tests use.create_table.pyandcreate_feature_spec_fixtures.pysharerun_statementsinacceptance/bin/util.py, socreate_table.pynow also waits for each statement and fails if one does not succeed.resolveThreePartName(Andrew): the vector search index, feature and feature spec blocks ofcapture_uc_dependenciesshare one helper.?w=in summary URLs (Jan, Andrew):resources/feature_specs/test.tomlstrips the suffix, asbinddoes.feature-engineering create-feature-specanddelete-feature-specinstead ofdatabricks api.nostamp(Andrew, Jan's review): the grants test pipes plan JSON throughnostamp.TestAllfixture (Jan): sets every feature spec field.python/feature_specs-supportruns locally only and has nogrants, peracceptance/bundle/python/README.md.Why
Review feedback on #7364 that was left for after the merge.
Tests
bundle/resources/feature_specs,bundle/resources/grants/feature_specs,bundle/deployment/bind/feature_spec: re-recorded for the prompts, commands and URLbundle/invariant,bundle/resources/features/lifecycle: pass without the SQL stubbundle/python/feature_specs-support: local only, without grantslibs/testserver/testsql: a fallback yields to a test's matcherlibs/testserver: default handlers accept fixture statements on both pathsbundle/direct/dresources:TestAll/feature_specswith every field set