Bundle reports schema update for every deployment
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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日 15時間
- マージ済み PR(30日)
- 286
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
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 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
agent-research agent-review-finding chore
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jordansmall/spindrift#4922 ·
メンテナーはふだん 1 日以内に返信
-
gcsartifact: deleting a missing version returns an error対応中かも @ktsoator が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
govulncheck
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信