Convert column(s) to avro format

Convert column(s) to avro format

sdf_to_avro(x, cols = colnames(x))

Arguments

x

An object coercible to a Spark DataFrame

cols

Subset of Columns to convert into avro format