Convert column(s) from avro format
sdf_from_avro(x, cols)
An object coercible to a Spark DataFrame
Named list of columns to transform from Avro format plus a valid Avro
schema string for each column, where column names are keys and column schema strings
are values (e.g.,
c(example_primitive_col = "string",
example_complex_col = "{\"type\":\"record\",\"name\":\"person\",\"fields\":[
{\"name\":\"person_name\",\"type\":\"string\"}, {\"name\":\"person_id\",\"type\":\"long\"}]}")