Hi, I have a csv which looks like this:
field,another field,"aaa,bbb,ccc",yet another field

I want to ingest "aaa,bbb,ccc" as an array of strings ["aaa","bbb","ccc"],
I've tried to use convertRecord with a csv reader and an avro writer but it
seems that csv reader doesn't have the concept of arrays (didn't see a case
for handling an array type in the code).

I wanted to try queryRecord but it seems it can only handle regexes and
explicitly defining a field, since I don't know the size of the array I will
get (it can also be field,aaa,another field or field,,another field) I don't
think I can do it with SQL either.

Thanks,
momo.



--
Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/

Reply via email to