how to write spark custom data source based on FileFormat

Viewed 4341

i saw the spark avro datasource is implemented based on FileFormat interface. Is there any documentation about how to write spark custom datasource based on FileFormat? Up to now i can't find any(except the source code from spark avro).

Thank you!

1 Answers
Related