Thanks to Jeff Zhang and FengDong. When i use hive i know how to set orc table 
properties,but i don't know how to set orcfile properties when i write a 
orcfile using spark api. for example strip.size ??index.rows.------------------ 
???????? ------------------
??????: "Fengdong Yu"<[email protected]>
????????: 2015??11??20??(??????) ????3:19
??????: "zhangjp"<[email protected]>;
????: "user"<[email protected]>;
????: Re: has any spark write orc document


You can use DataFrame:


sqlContext.write.format(??orc??).save(??xxxx")



 
 
On Nov 20, 2015, at 2:59 PM, zhangjp <[email protected]> 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


Thanks

Reply via email to