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

Feature request: allow bundle init --config-file to read from Unity Catalog Volumes

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

Start at the bundle init command's --config-file handling and compare its local-file path with the existing Databricks-authenticated filesystem access used for Volume files. Verify that exact dbfs:/Volumes/ paths use the selected profile, preserve local-file behavior, avoid a local copy, and report authentication, permission, path, and JSON validation failures clearly.

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

説明

Summary

Allow databricks bundle init to read its --config-file directly from an exact Unity Catalog Volume path.

For example:

databricks bundle init https://github.com/my-org/my-template \
  --config-file dbfs:/Volumes/customer_shared/config/bootstrap/customer-context.json \
  --output-dir ./my-solution

Motivation

Unity Catalog Volumes are a suitable governed location for non-secret operational configuration shared across customer workspaces.

Today, bundle init --config-file requires a local JSON file. A customer-owned bootstrap workflow must therefore:

  1. authenticate to the workspace;
  2. copy the exact file from the Volume to a temporary local file;
  3. invoke bundle init;
  4. remove the temporary file.

Direct Volume support would remove this wrapper and make governed, customer-owned bootstrap flows simpler while retaining Unity Catalog permissions and auditability.

Databricks already documents Unity Catalog Volumes as an appropriate location for configuration required across workspaces:

https://learn.microsoft.com/en-us/azure/databricks/files/files-recommendations

Proposed behavior

When --config-file receives an exact path beginning with dbfs:/Volumes/:

  • read that single file using the existing Databricks authentication and selected profile;
  • apply the same JSON parsing and template validation used for local files;
  • do not scan the Volume or persist a local copy;
  • fail clearly when authentication, permissions, the file path, or JSON validation fails.

Existing local-file behavior should remain unchanged.

Supporting /Volumes/... as a normalized alias would also be useful, although one canonical CLI form is sufficient.

Current workaround

databricks fs cp \
  dbfs:/Volumes/customer_shared/config/bootstrap/customer-context.json \
  /tmp/customer-context.json

databricks bundle init https://github.com/my-org/my-template \
  --config-file /tmp/customer-context.json \
  --output-dir ./my-solution

rm /tmp/customer-context.json

Alternative

If direct Unity Catalog file support is outside the intended scope of bundle init, supporting stdin would remove the temporary-file lifecycle:

databricks fs cat dbfs:/Volumes/.../customer-context.json \
  | databricks bundle init <template> --config-file -

Environment

Databricks CLI v1.11.0

主要言語
Go
スター
396
フォーク
233
平均マージ
2日 52分
マージ済み PR(30日)
276

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

databricks/cli のほかの issue

databricks/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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