4paradigm / 4paradigm/OpenMLDB
feat: refactor index option and move index option validation code to `SqlClusterRouter`
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Index key, ttl, ttl_type verify logic should be placed in `DB` or in `CORE`
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
1. Refeactor ColumnIndexNode. We only keep general structure.
2. Move `ttl`, `ttl_type`, `verson` logic to `OPENMLDB`
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
贡献指南
调研方向
Look at the ColumnIndexNode structure and the SqlClusterRouter class to understand the current index option validation logic. Determine which parts are general and which are specific to OPENMLDB. Move ttl, ttl_type, and version validation to the appropriate location, ensuring the refactored code maintains functionality.
由索引模型根据 Issue 内容生成。
评估
- 领域
- database, machine-learning
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100