If you want to use CSV format, please refer the spark-csv project and the examples. https://github.com/databricks/spark-csv
2015-12-24 4:40 GMT+08:00 Zhan Zhang <zzh...@hortonworks.com>: > Now json, parquet, orc(in hivecontext), text are natively supported. If > you use avro or others, you have to include the package, which are not > built into spark jar. > > Thanks. > > Zhan Zhang > > On Dec 23, 2015, at 8:57 AM, Christopher Brady < > christopher.br...@oracle.com> wrote: > > DataFrameWriter.format > > >