PowerBI Task DAB deployment fails if table does not exist
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
アセットバンドルの定義から始め、まだ存在しない参照テーブルを使用して databricks bundle deploy を実行します。生成されたリソース bundle.tf.json と Terraform apply のエラーを調査し、PowerBI タスクの検証を追跡します。テーブルが存在する前にデプロイが成功し、その後のパイプライン実行でテーブルを作成できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
When deploying a PowerBI Task the asset bundles validates if the table we plan to push to PowerBI exists. While this check makes sense for incremental workflows for the initial deployment of the job this is not useful since the table first has to be created by the job which is firstly deployed to production.
Configuration
Create a PowerBI task via DAB and reference a table that does not yet exists. If I want to deploy this asset bundle it will fail because the table for the PowerBI Task does not yet exits.
Steps to reproduce the behavior
- Create a asset bundle definition with a PowerBI Task
- Reference a Table that does not yet exists.
- Run
databricks bundle deploy
Expected Behavior
Pipeline will be deployed even those table does not yet exists. Since it will be created during the pipline run. Since we have a dbt task running before the PowerBI task.
Actual Behavior
Deployment fails because table does not exist during deployment time but will exist during run time of the pipeline.
OS and CLI version
Windwos
Databricks CLI v0.272.0
Is this a regression?
I don't know tried this the first time.
Debug Logs
Deploying resources...
11:06:06 Debug: Apply pid=12544 mutator=terraform.Apply
Error: terraform apply: exit status 1
Error: cannot update job: 'Run as' user is missing permissions: USE CATALOG on catalog tindp_bi_dev, USE SCHEMA on schema dev_mart or SELECT on table some_insights__obt_viral_alerts
with databricks_job.some_insights__transform_hourly,
on bundle.tf.json line 183, in resource.databricks_job.some_insights__transform_hourly:
183: },
- 主要言語
- Go
- スター
- 404
- フォーク
- 246
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 268
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
databricks/cli のほかの issue
-
Apps commands only accept relative path to app.yml対応中かも @yuri-rod が 7 日前に担当しました。 オープンCLI
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
databricks/cli#6910 ·
メンテナーはふだん 1 日以内に返信
-
DABs
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
databricks/cli#6670 ·
メンテナーはふだん 1 日以内に返信
-
DABs
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
databricks/cli#7002 ·
メンテナーはふだん 1 日以内に返信
-
DABs
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
databricks/cli#6986 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
databricks/cli#6978 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[Bug] Extraction-mode autogen returns pod templates in random order for map-keyed CRDs, so deny and report messages change between runs対応中かも @ManojLamani が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kyverno/kyverno#17980 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
raised-by:reviewer
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
medici-finance/assay#2681 ·
メンテナーはふだん 1 日以内に返信
-
bug triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fullsend-ai/fullsend#8353 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
duplication
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openvibely/openvibely#1459 ·
メンテナーはふだん 2 日以内に返信