Looking in the code https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcRelation.scala
I don’t think any of that advanced functionality is supported sorry �C there is a parameters option, but I don’t think it’s used for much. Ewan From: zhangjp [mailto:[email protected]] Sent: 20 November 2015 07:47 To: Fengdong Yu <[email protected]> Cc: user <[email protected]> Subject: 回复: has any spark write orc document 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]<mailto:[email protected]>> 发送时间: 2015年11月20日(星期五) 下午3:19 收件人: "zhangjp"<[email protected]<mailto:[email protected]>>; 抄送: "user"<[email protected]<mailto:[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]<mailto:[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
