You can use DataFrame:

sqlContext.write.format(“orc”).save(“xxxx")



> On Nov 20, 2015, at 2:59 PM, zhangjp <592426...@qq.com> wrote:
> 
> Hi,
> has any spark write orc document which like the parquet document.
>  http://spark.apache.org/docs/latest/sql-programming-guide.html#parquet-files 
> <http://spark.apache.org/docs/latest/sql-programming-guide.html#parquet-files>
> 
> Thanks

Reply via email to