4paradigm / 4paradigm/OpenMLDB

feat: refactor index option and move index option validation code to `SqlClusterRouter`

オープン
#220 コメント 0 件 リアクション 0 件 担当者 1 名 @jingchen2222 が担当を希望しています GitHub で見る
call-for-contributions enhancement
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。