Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Bundle reports schema update for every deployment

Abierto
#6,986 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, data

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

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.

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de databricks/cli

Todos los issues de databricks/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.