Expose the set of reserved CQL keywords
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Rust
- 星标
- 6
- 派生
- 8
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 14
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scylladb/python-rs-driver 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
scylladb/python-rs-driver#259 ·
维护者通常 1 天内回复
-
API-breaking
难度 1/5 1 小时以内 新手友好度 69/100
scylladb/python-rs-driver#258 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 60/100
scylladb/python-rs-driver#224 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
scylladb/python-rs-driver#193 ·
维护者通常 1 天内回复
-
API-breaking
难度 5/5 一周以上 新手友好度 25/100
scylladb/python-rs-driver#260 ·
维护者通常 1 天内回复
查看 scylladb/python-rs-driver 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
farion1231/cc-switch#8829 ·
维护者通常 1 天内回复
-
bug ci good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
longbridge/gpui-kit#3677 ·
维护者通常 1 天内回复
-
E-pr-welcome
难度 2/5 1-3 小时 新手友好度 77/100
seanmonstar/reqwest#3121 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
ilya-zlobintsev/LACT#1235 ·
维护者通常 1 天内回复