Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

databricks lakeview create does not support parameter parent_path anymore

Đang mở
#5,983 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@janniklasrose đang làm issue này rồi.

Từ ngày 28/9/2026.

Đá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
62/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
go
Lĩnh vực
cli

Hướng nghiên cứu

Tái hiện lệnh databricks lakeview create từ issue và tìm trong phần triển khai Go CLI lệnh tạo Lakeview cùng các định nghĩa flag của lệnh đó. Kiểm tra các bài kiểm thử lệnh hiện có, nếu có, và xác minh rằng --parent-path được chấp nhận và gửi dưới dạng parent_path, trong khi workaround --json được tài liệu hóa vẫn tiếp tục hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug CLI
Describe the issue

databricks lakeview create used to support parameter --parent-path (location where specific dashboard will be saved). New version (Databricks CLI v0.286.1) does not support it directly, but rest API still exposes this parameter.

As a work around you can provide the --json parameter with parent_path argument.

databricks lakeview create --json "$(jq -n \
            --arg name "${dashboard_name}" \
            --arg wh "${warehouse_id}" \
            --arg parent "${path}" \
            --arg dash "$(cat ${dashboard_dir}/${dashboard_name}.lvdash.json | jq -c)" \
            '{display_name: $name, warehouse_id: $wh, parent_path: $parent, serialized_dashboard: $dash}')"
Steps to reproduce the behavior
databricks lakeview create "${dashboard_name}" \
        --warehouse-id ${warehouse_id} \
        --serialized-dashboard "$(cat ${dashboard_dir}/${dashboard_name}.lvdash.json | jq -c)" \
        --parent-path ${path}
Expected Behavior

Either support that parameter or explain why it should not be used anymore.

Actual Behavior

Running command with --parent-path throws Error: unknown flag: --parent-path. The work around works as expected (the way the parameter used to work)

OS and CLI version

Databricks CLI v0.286.1

Is this a regression?

It is regresion.... But I cannot recovered with which version it used to work.

Debug Logs
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của databricks/cli

Tất cả issue của databricks/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.