Feature request: suggestions upon typos or incorrect casing

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

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

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

評価

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

調査の方向性

Start by finding the dbc install command and the driver-registry lookup that produces the “driver not found” error; the issue does not name files or tests. Decide whether to implement edit-distance suggestions or the narrower casing-only behavior, then check existing CLI tests and add coverage for the chosen behavior. Done means a misspelled or incorrectly cased driver name produces the intended suggestion instead of only an error.

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

説明

Minor quality-of-life type thing, but it could be nice if typos in driver names led to suggestions when there is a driver which name has a short edit distance from the user's input, instead of erroring. E.g. instead of

@thisisnic ➜ /workspaces/adbc-lab (main) $ dbc install postrgesql
Error: could not find driver: driver `postrgesql` not found in driver registry index

We might get something like

@thisisnic ➜ /workspaces/adbc-lab (main) $ dbc install postrgesql
  Driver `postrgesql` not found in driver registry index, did you mean:
    'postgresql'

An even narrower scope might be just casing, e.g. if a user types, e.g. DuckDB instead of duckdb.

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

環境構築

はじめの一歩

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

columnar-tech/dbc のほかの issue

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

似ている issue

Go の issue をもっと見る

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

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