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 2015/10/03 10:04:17 UTC

spark git commit: [SPARK-7275] [SQL] Make LogicalRelation public

Repository: spark
Updated Branches:
  refs/heads/master f85aa0646 -> 314bc6843


[SPARK-7275] [SQL] Make LogicalRelation public

Given LogicalRelation (and other classes) were moved from sources package to execution.sources package, removed private[sql] to make LogicalRelation public to facilitate access for data sources.

Author: gweidner <gw...@us.ibm.com>

Closes #8965 from gweidner/SPARK-7275.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/314bc684
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/314bc684
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/314bc684

Branch: refs/heads/master
Commit: 314bc68435ac3901a97724b9eccd1daf8f89578e
Parents: f85aa06
Author: gweidner <gw...@us.ibm.com>
Authored: Sat Oct 3 01:04:14 2015 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Sat Oct 3 01:04:14 2015 -0700

----------------------------------------------------------------------
 .../apache/spark/sql/execution/datasources/LogicalRelation.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/314bc684/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala
index 4069179..783252e 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala
@@ -28,7 +28,7 @@ import org.apache.spark.sql.sources.BaseRelation
  * changing the output attributes' IDs.  The `expectedOutputAttributes` parameter is used for
  * this purpose.  See https://issues.apache.org/jira/browse/SPARK-10741 for more details.
  */
-private[sql] case class LogicalRelation(
+case class LogicalRelation(
     relation: BaseRelation,
     expectedOutputAttributes: Option[Seq[Attribute]] = None)
   extends LeafNode with MultiInstanceRelation {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org