Bundle reports schema update for every deployment
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 404
- Forks
- 246
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 286
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de databricks/cli
-
Apps commands only accept relative path to app.ymlPosiblemente ocupada @yuri-rod la tomó hace 4 días. AbiertoCLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
databricks/cli#6910 ·
Los mantenedores suelen responder en 1 día
-
DABs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
databricks/cli#6670 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
databricks/cli#6978 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
databricks/cli#6963 ·
Los mantenedores suelen responder en 1 día
-
Validation Failing with`experimental.immutable_folder: true` Despite Plan and Deploy SucceedingPosiblemente ocupada @denik la tomó hace 2 días. AbiertoBug DABs engine/direct
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
databricks/cli#6960 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de databricks/cli
Issues similares
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXIDPosiblemente ocupada @pishuv la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
benbjohnson/litestream#1563 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
agent-research agent-review-finding chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
jordansmall/spindrift#4922 ·
Los mantenedores suelen responder en 1 día
-
gcsartifact: deleting a missing version returns an errorPosiblemente ocupada @ktsoator la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
govulncheck
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día