4paradigm / 4paradigm/OpenMLDB
Kafka connector: date type cannot use string in JSON
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
**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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- kafka
- Domaine
- data-engineering, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100