Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

PowerBI Task DAB deployment fails if table does not exist

オープン
#4,370 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
cli, devops

調査の方向性

アセットバンドルの定義から始め、まだ存在しない参照テーブルを使用して databricks bundle deploy を実行します。生成されたリソース bundle.tf.json と Terraform apply のエラーを調査し、PowerBI タスクの検証を追跡します。テーブルが存在する前にデプロイが成功し、その後のパイプライン実行でテーブルを作成できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug DABs
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
  1. Create a asset bundle definition with a PowerBI Task
  2. Reference a Table that does not yet exists.
  3. 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 ファイルあり
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

databricks/cli のほかの issue

databricks/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。