Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Converting Avro String to Array

Converting Avro String to Array

New Contributor


I have an Avro Schema where there is a field of type String which contains a comma separated list of values which I need to have as an array.


   "field" : "value1,value2,value3"


   "field" : [ "value1", "value2", "value3"]

How can I achieve this?

Don't have an account?
Coming from Hortonworks? Activate your account here