Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Bundle reports schema update for every deployment

Offen
#6,986 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
cli, data

Rechercherichtung

The bug sits in how the bundle deployment state compares a bound schema against the remote Unity Catalog schema, so start with the schema resource handling in the bundle deploy code and the deployment-state diff. Reproduce by binding an existing schema and running deploy twice; the expected result is no 'Updated schemas' line on the second run. Done means the second deploy reports no changes and the owner-null diff no longer appears.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

DABs
Describe the issue

When deploying bundle, schemas that existed before and were bound to the bundle are reported as updated when there are no changes made to the resource.

Configuration
resources:
  schemas:
    test_schema:
      name: test_schema
      catalog_name: test_catalog
Steps to reproduce the behavior
  1. Create schema to catalog with SQL CREATE SCHEMA test_catalog.test_schema.
  2. Run databricks bundle deployment bind test_schema test_catalog.test_schema.
  3. Bind command reports that changes were detected:
    Changes detected:
       ~ properties: {"owner":"root"} -> null
    
    Approve the detected changes.
  4. Run databricks bundle deploy.
  5. Run databricks bundle deploy again.
Expected Behavior

The first deployment should apply the detected changes in the deployment and second deployment should not report schema as updated.

Actual Behavior

The first as well as the second bundle deployment reports that the test_schema was updated: Updated schemas.test_schema.

OS and CLI version

Windows 11, 1.20.0

Is this a regression?

Haven't tested with other versions.

Vorherrschende Sprache
Go
Sterne
404
Forks
246
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
286

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus databricks/cli

Alle Issues in databricks/cli

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.