Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Expose the set of reserved CQL keywords

Aperta
#233 5 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, rust
Ambito
api, databases

Direzione di ricerca

The payload names no file or test in this repository, so start by finding where the driver's Python-facing metadata API is defined and whether it already exposes any CQL grammar data. Compare with the reference the issue cites, cassandra.metadata.cql_keywords_reserved in the Python driver, to see what shape is expected. Settle first whether the maintainers want a raw set or a maybe_quote(name) helper, because that choice decides the work. Done means the chosen API returns the reserved words and a test checks a known reserved word such as order against it.

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

Descrizione

coodie (a Pydantic ODM for ScyllaDB) needs to know which CQL words are reserved, so it can quote table/keyspace/index names like order when it builds CQL.

scylla-driver and cassandra-driver expose this as cassandra.metadata.cql_keywords_reserved, kept in step with the server grammar. This driver has no equivalent, so coodie has to keep its own copy, which drifts when ScyllaDB adds a reserved word.

Could the driver expose the reserved-keyword set (or a maybe_quote(name) helper like the Python driver has)?

Context: https://github.com/scylladb/coodie/pull/308#discussion_r4238955177

Lingua principale
Rust
Stelle
6
Fork
8
Merge medio
3g 11h
PR unite (30g)
16

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un 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 scylladb/python-rs-driver

Tutte le issue di scylladb/python-rs-driver

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.