4paradigm / 4paradigm/OpenMLDB

Kafka connector: date type cannot use string in JSON

Aperta
#2,294 0 commenti 0 reazioni 1 assegnatario Rivendicata da @dl239 Vedi su GitHub
bug extensions
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

**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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
kafka
Ambito
data-engineering, databases
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.