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

Catalog creation on Databricks Free

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

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

Hướng nghiên cứu

Bắt đầu với yêu cầu tạo catalog tại POST /api/2.1/unity-catalog/catalogs và cấu hình YAML được hiển thị trong issue. So sánh hành vi khi bỏ qua storage_root với yêu cầu Default Storage của Databricks Free, sau đó xác minh rằng việc tạo catalog thành công mà không có vị trí lưu trữ rõ ràng.

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

Mô tả

DABs
Describe the issue

DABs should support catalogs creation. One of the required parameters is storage_root. However on Databricks Free, I can't set this as I don't have access to underlying storage.

Configuration
bundle:
  name: poc
  engine: direct

workspace:
  host: 
  root_path: /Workspace/Users/[email protected]/.bundle/${bundle.target}/catalogs/${bundle.name}

targets:
  prod:
    mode: production
    default: true

resources:
  catalogs:
    poc:
      name: poc
      comment: "Proof of concept catalog for development purposes"
      lifecycle:
        prevent_destroy: true
Steps to reproduce the behavior
  1. Run databricks bundle deploy ...
  2. See error
Expected Behavior

There should be an option to create catalog without specifying storage_root parameter.

Actual Behavior
Uploading bundle files to /Workspace/Users/[email protected]/.bundle/prod/catalogs/poc/files...
Deploying resources...
Error: cannot create resources.catalogs.poc: Metastore storage root URL does not exist. Default Storage is enabled in your account. You can use the UI to create a new catalog using Default Storage, or please provide a storage location for the catalog (for example 'CREATE CATALOG myCatalog MANAGED LOCATION '<location-path>'). (400 INVALID_STATE)

Endpoint: POST https://....cloud.databricks.com/api/2.1/unity-catalog/catalogs
HTTP Status: 400 Bad Request
API error_code: INVALID_STATE
API message: Metastore storage root URL does not exist. Default Storage is enabled in your account. You can use the UI to create a new catalog using Default Storage, or please provide a storage location for the catalog (for example 'CREATE CATALOG myCatalog MANAGED LOCATION '<location-path>').
OS and CLI version

OS: Fedora
CLI: v1.4.0

Is this a regression?

n/a - trying for the first time.

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)
229

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.