Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Bundle reports schema update for every deployment

Ouverte
#6,986 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
go
Domaine
cli, data

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
404
Forks
246
Merge moyen
1 j 15 h
PR mergées (30 j)
286

Préparer son environnement

  • Fournit un Dockerfile ou un fichier Docker Compose
  • Propose un modèle de pull request
  • Aucun guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de databricks/cli

Toutes les issues de databricks/cli

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.