nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit" <mohit.j...@open-insights.co.in>
Subject Validate Record issue
Date Wed, 02 May 2018 15:57:40 GMT
Hi,

I'm using ValidateRecord processor to validate CSV and writing to avro. 

For a file it is transferring all the record to an invalid relationship. It
is working fine with ConvertCsvToAvro processor.

 

Avro Schema -
{"type":"record","name":"cell_kpi_dump_geo","namespace":"cell_kpi_dump_geo",
"fields":[{"name":"month","type":["null","string"],"default":null},

{"name":"cell","type":["null","string"],"default":null},{"name":"availabilit
y","type":["int","null"],"default":0},{"name":"cssr_speech","type":["int","n
ull"],"default":0},

{"name":"dcr_speech","type":["int","null"],"default":0},{"name":"hs_kbps","t
ype":["double","null"],"default":0.0},{"name":"eul_kbps","type":["int","null
"],"default":0},

{"name":"tech","type":["null","string"],"default":null},{"name":"site_id","t
ype":["double","null"],"default":0.0},{"name":"longitude","type":["double","
null"],"default":0.0},{"name":"latitude","type":["double","null"],"default":
0.0}]}

 

 

Sample record - 

 

May-16,KA4371D,95,100,0,151,,2G,4371,-1.606926,6.67223

 

Is there something I'm doing wrong?

 

 

Regards,

Mohit


Mime
View raw message