DAB dynvar: cannot parse resource keys starting with digits when permissions are set
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 66/100
Hướng nghiên cứu
Start by tracing how the CLI parses resource references such as ${resources.jobs.00_clear_silver_and_gold.id} while planning resource permissions, then compare that path with the case where permissions are absent. Reproduce with the YAML example using databricks bundle plan or deploy; done when a resource key beginning with digits plans successfully with permissions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Resource keys starting with a digit (e.g. 00_clear_silver_and_gold) fail with cannot parse when permissions are defined on the resource.
Error message:
Error: cannot plan resources.jobs.00_clear_silver_and_gold.permissions: cannot parse "/jobs/${resources.jobs.00_clear_silver_and_gold.id}" Error: planning failed
The same key works fine without permissions. Renaming the key to not start with a digit (e.g. clear_silver_and_gold) while keeping name: 00_clear_silver_and_gold resolves the issue.
Reproduction
CLI version: 1.7.0
resources:
jobs:
00_clear_silver_and_gold:
name: 00_clear_silver_and_gold
permissions:
- group_name: engineer-group
level: CAN_MANAGE
- group_name: admin-group
level: CAN_MANAGE
tasks:
- task_key: example_task
notebook_task:
notebook_path: ${workspace.file_path}/src/example
Running databricks bundle deploy or databricks bundle plan produces:
Error: cannot plan resources.jobs.00_clear_silver_and_gold.permissions: cannot parse "/jobs/${resources.jobs.00_clear_silver_and_gold.id}"
Expected behavior
Resource keys starting with digits should be supported, consistent with how Terraform and the Databricks API handle job names.
- Ngôn ngữ chính
- Go
- Star
- 427
- Fork
- 267
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 233
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 38 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 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bump vulnerable dependencies workflow is failingCó thể đã có người làm @shreyas-goenka đã nhận hôm nay. Đang mởbump-vuln-deps-failure
databricks/cli#7531 · 1 bình luận · 7 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bundle run on an app fails with "not in RUNNING state" when the app's compute is UPDATINGCó thể đã có người làm @andrewnester đã nhận 1 ngày trước. Đang mởBug DABs
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
databricks/cli#7451 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bundle deploy of an AI/BI dashboard breaks viewers' private bookmarks (UI save + publish does not)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
databricks/cli#7419 ·
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ự
-
Độ 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
-
kind/features
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
TencentBlueKing/bk-nodemgr#3991 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
meta
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
last9/last9-mcp-server#554 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Plain-http federation signing external_url fails startup with "invalid federation request signature"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày