Github user zhzhan commented on a diff in the pull request:
https://github.com/apache/spark/pull/2576#discussion_r18807130
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/SchemaRDDLike.scala
---
@@ -77,6 +77,18 @@ private[sql] trait SchemaRDDLike {
}
/**
+ * Saves the contents of this `SchemaRDD` as a orc file, preserving the
schema. Files that
+ * are written out using this method can be read back in as a SchemaRDD
using the `orcFile`
+ * function.
+ * Note: you can only use it in HiveContext
+ *
+ * @group schema
+ */
+ def saveAsOrcFile(path: String): Unit = {
--- End diff --
In my point of view, this should also be move out of SchemaRDDLike, since
orc is extra data sources.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]