4paradigm / 4paradigm/OpenMLDB

deprecating legacy schema codec

Abierto
#3,722 0 comentarios 0 reacciones 1 asignado Reclamado por @aceforeverd Ver en GitHub
enhancement sql
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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 ?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
backend, databases
Tipo de issue
Refactorización
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.