4paradigm / 4paradigm/OpenMLDB
Kafka connector: date type cannot use string in JSON
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**Bug Description**
+ version: v0.6.0
Date type cannot use string in JSON, but timestamp should be used. For example, 1659512628000 can be used, but "2022-08-03" cannot be used
**Expected Behavior**
Compatible string types
**Steps to Reproduce**
1.
2.
3.
4.
Guía de contribución
Línea de trabajo
Look for the Kafka connector code in the OpenMLDB source, likely under connectors/ or similar. Examine how date types are parsed from JSON input. The issue is that string date formats like "2022-08-03" are not accepted, only numeric timestamps. Find the relevant parsing logic and extend it to handle common string date formats. Testing will involve setting up a Kafka connector test with JSON containing string dates.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- kafka
- Área
- data-engineering, databases
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100