Bundle reports schema update for every deployment
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Go
- Estrelas
- 404
- Forks
- 246
- Merge médio
- 1d 15h
- PRs com merge (30d)
- 286
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de databricks/cli
-
Apps commands only accept relative path to app.ymlTalvez já em andamento @yuri-rod assumiu há 4 dias. AbertaCLI
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
databricks/cli#6910 ·
Mantenedores costumam responder em até 1 dia
-
DABs
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
databricks/cli#6670 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
databricks/cli#6978 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
databricks/cli#6963 ·
Mantenedores costumam responder em até 1 dia
-
Validation Failing with`experimental.immutable_folder: true` Despite Plan and Deploy SucceedingTalvez já em andamento @denik assumiu há 2 dias. AbertaBug DABs engine/direct
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
databricks/cli#6960 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de databricks/cli
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
agent-research agent-review-finding chore
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
jordansmall/spindrift#4922 ·
Mantenedores costumam responder em até 1 dia
-
gcsartifact: deleting a missing version returns an errorTalvez já em andamento @ktsoator assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias
-
govulncheck
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Change wording for init command success messageTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia