Get an SCollection[T] by applying the parseFn on GenericRecord from an Avro file.
Get an SCollection[T] by applying the parseFn on GenericRecord from an Avro file.
Writes are undefined for GenericRecordParseIO since it is used only for reading.
Writes are undefined for GenericRecordParseIO since it is used only for reading.
Given a parseFn, read GenericRecord and apply a function mapping => T before producing output. This IO applies the function at the time of de-serializing Avro GenericRecords.
This IO doesn't define write, and should not be used to write Avro GenericRecords.