You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2016/08/16 08:15:01 UTC
spark git commit: Revert "[SPARK-16964][SQL] Remove private[hive]
from sql.hive.execution package"
Repository: spark
Updated Branches:
refs/heads/branch-2.0 2e2c787bf -> 237ae54c9
Revert "[SPARK-16964][SQL] Remove private[hive] from sql.hive.execution package"
This reverts commit 2e2c787bf588e129eaaadc792737fd9d2892939c.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/237ae54c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/237ae54c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/237ae54c
Branch: refs/heads/branch-2.0
Commit: 237ae54c960d52b35b4bc673609aed9998c2bd45
Parents: 2e2c787
Author: Reynold Xin <rx...@databricks.com>
Authored: Tue Aug 16 01:14:53 2016 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue Aug 16 01:14:53 2016 -0700
----------------------------------------------------------------------
.../spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala | 1 +
.../apache/spark/sql/hive/execution/ScriptTransformation.scala | 3 +++
.../main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala | 3 ++-
3 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/237ae54c/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala
index 3a8b0f1..15a5d79 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/CreateHiveTableAsSelectCommand.scala
@@ -34,6 +34,7 @@ import org.apache.spark.sql.hive.MetastoreRelation
* @param ignoreIfExists allow continue working if it's already exists, otherwise
* raise exception
*/
+private[hive]
case class CreateHiveTableAsSelectCommand(
tableDesc: CatalogTable,
query: LogicalPlan,
http://git-wip-us.apache.org/repos/asf/spark/blob/237ae54c/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala
index 9747abb..dfb1251 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/ScriptTransformation.scala
@@ -51,6 +51,7 @@ import org.apache.spark.util.{CircularBuffer, RedirectThread, SerializableConfig
* @param script the command that should be executed.
* @param output the attributes that are produced by the script.
*/
+private[hive]
case class ScriptTransformation(
input: Seq[Expression],
script: String,
@@ -335,6 +336,7 @@ private class ScriptTransformationWriterThread(
}
}
+private[hive]
object HiveScriptIOSchema {
def apply(input: ScriptInputOutputSchema): HiveScriptIOSchema = {
HiveScriptIOSchema(
@@ -353,6 +355,7 @@ object HiveScriptIOSchema {
/**
* The wrapper class of Hive input and output schema properties
*/
+private[hive]
case class HiveScriptIOSchema (
inputRowFormat: Seq[(String, String)],
outputRowFormat: Seq[(String, String)],
http://git-wip-us.apache.org/repos/asf/spark/blob/237ae54c/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala
----------------------------------------------------------------------
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala
index 894c71c..a2c8092 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala
@@ -47,7 +47,8 @@ import org.apache.spark.util.SerializableConfiguration
* [[FileFormat]] for reading ORC files. If this is moved or renamed, please update
* [[DataSource]]'s backwardCompatibilityMap.
*/
-class OrcFileFormat extends FileFormat with DataSourceRegister with Serializable {
+private[sql] class OrcFileFormat
+ extends FileFormat with DataSourceRegister with Serializable {
override def shortName(): String = "orc"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org