powered by
Constructs a list of lists Avro schema for the enum (set of symbols) type.
list
avro_enum(symbols, name = NULL, namespace = NULL)
list of string-valued symbol names
required name (if missing, gen_unique_enum_name is invoked)
gen_unique_enum_name
optional namespace
avro_enum(list("one", "two", "three"))
Run the code above in your browser using DataLab