spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [SPARK-7275] [SQL] Make LogicalRelation public
Date Sat, 03 Oct 2015 08:04:17 GMT
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 <gweidner@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 <gweidner@us.ibm.com>
Authored: Sat Oct 3 01:04:14 2015 -0700
Committer: Reynold Xin <rxin@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


Mime
View raw message