Idea: dbc run command for setting up ADBC environment variables and transiently installing drivers

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

Start by reading the existing dbc command structure and how it installs and configures ADBC drivers; the issue does not name specific files or tests. Determine whether a transient run command fits the project, including driver matching, temporary storage, and environment setup. Done would mean the command runs a program with a compatible driver configured and reports an error when none is available.

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

説明

idea

This feels like a subpar idea but I thought I'd write it down.

uv run lets you run a Python script with a specific Python interpreter with a one or more optional packages. uv handles managing a transient virtual environment to run the command in and then tears it all down when the command exits. This is useful for all sorts of things. What if dbc had an analogue?

$ dbc run --with="flightsl < 1.6.0" ./your_executable_name

This would,

  1. Create a temporary directory
  2. Find a matching flightsql driver for your system, error if one can't be found
  3. Download the found driver to the temporary directory
  4. Set ADBC_CONFIG_PATH

The program or script being run would then be able to direct their driver manager to load "flightsql" and the rest would be figured out.

When the program runs, the temporary directory would be left alone for the OS to recover.

主要言語
Go
スター
154
フォーク
15
平均マージ
2日 3時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

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

columnar-tech/dbc のほかの issue

columnar-tech/dbc の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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