discuss ADBC_DRIVER_PATH path list behavior
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- cli, documentation
Direzione di ricerca
Start with the Installing guide's ADBC_DRIVER_PATH section, which the issue names, and compare its description with the install example in the issue. The issue also raises a behavior question about skipping nonexistent paths, but gives no decision or implementation entry point. Done for the documentation task means explaining the current behavior; any behavior change depends on discussion resolving what it should be.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There's an asymmetry in how dbc treats ADBC_DRIVER_PATH compared to the driver managers. I'd like to point it out and discuss whether we should change the behavior.
ADBC_DRIVER_PATH can be a path list and, when it is, the driver manager will search the paths (in order) for a matching manifest. This means that, for example, the first path can be entirely non-existent and it will be effectively skipped.
dbc handles this differently. Instead of checking whether a path in the past list exists, it will create it and install from there. I'm not yet sure what our uninstall behavior is.
I see this as an asymmetry that might be confusing. I also think it means that dbc doesn't really support path lists in ADBC_DRIVER_PATH. For example, this,
$ mkdir "$HOME/does_exist"
$ export ADBC_DRIVER_PATH="$HOME/does_not_exist:$HOME/does_exist"
$ echo $ADBC_DRIVER_PATH
/home/bryce/does_not_exist /home/bryce/does_exist
$ go run ./cmd/dbc install mysql
[✓] searching
[✓] downloading
[✓] installing
[✓] verifying signature
Installed mysql 0.1.0 to /home/bryce/does_not_exist
(Notice that it installs to does_not_exist)
is the same as if I hadn't set the path list at all,
$ export ADBC_DRIVER_PATH="$HOME/does_not_exist"
Should dbc check if the path exists before trying to use it and otherwise skip over it?
Tasks:
- Discuss
- Update docs, particularly the Installing guide's
ADBC_DRIVER_PATHsection to describe the behavior
- Lingua principale
- Go
- Stelle
- 154
- Fork
- 15
- Merge medio
- 2g 12h
- PR unite (30g)
- 25
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di columnar-tech/dbc
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
columnar-tech/dbc#513 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
columnar-tech/dbc#363 ·
I maintainer di solito rispondono entro 1 giorno
-
JFrog ArtifactoryAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
columnar-tech/dbc#536 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
columnar-tech/dbc#531 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
columnar-tech/dbc#529 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di columnar-tech/dbc
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 1 giorno
-
stage-fail
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
siyuan-note/bazaar#2405 ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: high workstream:cache
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rossoctl/context-guru#707 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
prime-radiant-inc/evener#5028 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno