4paradigm / 4paradigm/OpenMLDB
Kafka connector: date type cannot use string in JSON
- Vorherrschende Sprache
- C++
- Sterne
- 1.7k
- Forks
- 331
- Ø Merge
- 12 T. 12 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- kafka
- Bereich
- data-engineering, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100