Allow for sqlite query when using StringSelectionResolver

Aperta
#751 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
pandas, python, sqlite
Ambito
data, database

Direzione di ricerca

Start by reading StringSelectionResolver and the query_table method on SQLiteDataset; the issue does not name file paths or tests. Trace how selections reach query_table for SQLite and how StringSelectionResolver handles them, then check the existing tests for both dataset types. Done means SQLite selections can use the SQLite query path through the resolver, while Parquet string selections remain unsupported.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Selections not handled equally by pandas and sqlite query
The selections that are possible with the pandas.query() function is limited and not equal to what can be done when using an sqlite query. There is currently no way to allow for the selection query to be passed on to query_table function even though we support sqlite query selection in the query_table function of SQLiteDataset class

feature
I'd like to be able to use sqlite query selections even when using the StringSelectionResolver

Implementation
add an optional variable to StringSelectionResolver whether to use the selection query of the super ie. SQLiteDataset or ParquetDataset class. (str selections not currently not supported in parquet)

Lingua principale
Python
Stelle
117
Fork
115
Merge medio
2g 21h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graphnet-team/graphnet

Tutte le issue di graphnet-team/graphnet

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.