Bundle reports schema update for every deployment
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Create schema to catalog with SQL
CREATE SCHEMA test_catalog.test_schema. - Run
databricks bundle deployment bind test_schema test_catalog.test_schema. - Bind command reports that changes were detected:
Approve the detected changes.Changes detected: ~ properties: {"owner":"root"} -> null - Run
databricks bundle deploy. - Run
databricks bundle deployagain.
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.
- Lingua principale
- Go
- Stelle
- 404
- Fork
- 246
- Merge medio
- 1g 15h
- PR unite (30g)
- 286
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di databricks/cli
-
Apps commands only accept relative path to app.ymlForse già presa @yuri-rod l’ha presa 4 giorni fa. ApertaCLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
databricks/cli#6910 ·
I maintainer di solito rispondono entro 1 giorno
-
DABs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
databricks/cli#6670 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
databricks/cli#6978 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
databricks/cli#6963 ·
I maintainer di solito rispondono entro 1 giorno
-
Validation Failing with`experimental.immutable_folder: true` Despite Plan and Deploy SucceedingForse già presa @denik l’ha presa 2 giorni fa. ApertaBug DABs engine/direct
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
databricks/cli#6960 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di databricks/cli
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
agent-research agent-review-finding chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
jordansmall/spindrift#4922 ·
I maintainer di solito rispondono entro 1 giorno
-
gcsartifact: deleting a missing version returns an errorForse già presa @ktsoator l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
govulncheck
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Change wording for init command success messageForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno