Bundle reports schema update for every deployment
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Go
- 星标
- 404
- 派生
- 246
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 281
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
databricks/cli 的其他 Issue
-
Apps commands only accept relative path to app.yml可能已有人在做 @yuri-rod 于 4 天前认领。 未关闭CLI
难度 2/5 1-3 小时 新手友好度 82/100
databricks/cli#6910 ·
维护者通常 1 天内回复
-
DABs
难度 2/5 1-3 小时 新手友好度 68/100
databricks/cli#6670 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
databricks/cli#6978 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
databricks/cli#6963 ·
维护者通常 1 天内回复
-
Validation Failing with`experimental.immutable_folder: true` Despite Plan and Deploy Succeeding可能已有人在做 @denik 于 2 天前认领。 未关闭Bug DABs engine/direct
难度 3/5 1-2 天 新手友好度 68/100
databricks/cli#6960 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
siyuan-note/siyuan#20353 ·
维护者通常 1 天内回复
-
attributes-natural-language "en-US" is rejected by PAPPL >= 1.4.12 printers (RFC 8011 requires lowercase)可能已有人在做 @ChrisEdgington 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 84/100
OpenPrinting/ipp-usb#140 ·
-
Discriminator mapping keys are listed in a random order可能已有人在做 @reuvenharrison 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXID可能已有人在做 @pishuv 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
benbjohnson/litestream#1563 ·
维护者通常 2 天内回复
-
triage needed
难度 1/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复