PowerBI Task DAB deployment fails if table does not exist
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Bắt đầu với định nghĩa asset bundle và chạy databricks bundle deploy bằng một bảng được tham chiếu nhưng chưa tồn tại. Kiểm tra resource bundle.tf.json được tạo ra và lỗi Terraform apply để theo dõi quá trình xác thực tác vụ PowerBI. Được xem là hoàn tất khi deployment thành công trước khi bảng tồn tại, trong khi lần chạy pipeline sau đó có thể tạo bảng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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: },
- Ngôn ngữ chính
- Go
- Star
- 404
- Fork
- 246
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 268
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của databricks/cli
-
Apps commands only accept relative path to app.ymlCó thể đã có người làm @yuri-rod đã nhận 6 ngày trước. Đang mởCLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
databricks/cli#6910 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
databricks/cli#6670 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
databricks/cli#7002 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
databricks/cli#6986 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
databricks/cli#6978 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của databricks/cli
Issue tương tự
-
bug go
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
genkit-ai/genkit#6761 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug(backend): `make test-update` in backend/src/v2 fails because the --update flag was removedĐang mởready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
kubeflow/pipelines#14784 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
trust: update-propagation-directive requires developer mode while add and remove do notCó thể đã có người làm @bhuvan-somisetty đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
oalders/clodhopper#133 ·