Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

registered_model aliases in bundle config not applied to Unity Catalog despite successful deploy

未關閉
#4,012 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@andrewnester 已經在處理了。

開始於 2026年10月22日。

  • #4637 來自 @varundeepsaini —— 未關閉
  • #5448 來自 @varundeepsaini —— 已關閉,未合併
  • #7163 來自 @andrewnester —— 未關閉

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
azure, terraform
領域
cli, cloud, databases

研究方向

從 databricks bundle deploy --log-level=debug 開始,並將 Terraform state 中的 alias 屬性與部署後的 Unity Catalog 模型進行比較。追蹤 bundle 部署和 alias 處理的進入點;完成標準是 alias test 和 staging 在 Unity Catalog 的模型版本 1 和 2 上可見,而不只是出現在 state 中。

由索引模型根據 Issue 內容生成。

描述

Bug DABs engine/direct
Describe the issue

Model aliases defined in Databricks Asset Bundle configuration are not being applied to Unity Catalog models, even though:

  • databricks bundle deploy completes successfully
  • Terraform state shows aliases are configured
Configuration

Have an existing registered model in Unity Catalog with 2 versions
Create bundle configuration:

Image

What I did:

  • Model already existed in Unity Catalog with versions 1 and 2
  • Used databricks bundle deployment bind to link existing model to DAB
  • Ran databricks bundle deploy
  • Deploy completed successfully

In UI I see a new comment and permissions were set. However, UI shows no aliases on the model.

Expected Behavior

Alias staging should be visible on the model pointing to version 2 while alias test - version 1.

Actual Behavior

Terraform state shows alias is configured, but it's not applied to the actual model in Unity Catalog.

OS and CLI version
  • Databricks CLI version: 0.277.0
  • Cloud: Azure
  • Unity Catalog enabled
  • Windows
Is this a regression?

Have tried 0.278.0, but result is the same.

Debug Logs

Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed
{

  "instances": [
    {
      "attributes": {
        "aliases": [
          {
            "alias_name": "test",
            "catalog_name": "",
            "id": "",
            "model_name": "",
            "schema_name": "",
            "version_num": 1
          },
          {
            "alias_name": "staging",
            "catalog_name": "",
            "id": "",
            "model_name": "",
            "schema_name": "",
            "version_num": 2
          }
        ],
主要語言
Go
星號
416
分支
256
平均合併
1 天 22 小時
30 天內合併 PR
210

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

databricks/cli 的其他 Issue

查看 databricks/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。