Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Expose the set of reserved CQL keywords

Đang mở
#233 5 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, rust
Lĩnh vực
api, databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
6
Fork
8
Merge trung bình
3 ngày 11 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scylladb/python-rs-driver

Tất cả issue của scylladb/python-rs-driver

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.