4paradigm / 4paradigm/OpenMLDB

deprecating legacy schema codec

オープン
#3,722 コメント 0 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
enhancement sql
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

The schema codec in https://github.com/4paradigm/OpenMLDB/blob/ff7e8acf21ead1f9734eef59ac3521adb05dff2e/hybridse/include/codec/fe_schema_codec.h#L34-L110

is not real serialization solution for schemas. It

1. Not extendable. complex data type like #3680 is not possible without breaking change, it can not represent map type in single byte.
2. Hardware dependent. Endianness and primitive type size vary on different platform
3. Lack of type safety check, and is error prone.

## Solution ?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The issue points to hybridse/include/codec/fe_schema_codec.h lines 34-110, which contains the legacy schema codec. First, examine the current codec implementation to understand its limitations. Then, look for any existing serialization solutions in the codebase that could replace it. The goal is to design a new, extensible, platform-independent, and type-safe schema serialization method, but the issue does not specify a concrete solution or next steps.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
backend, databases
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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