From 314bc68435ac3901a97724b9eccd1daf8f89578e Mon Sep 17 00:00:00 2001 From: gweidner Date: Sat, 3 Oct 2015 01:04:14 -0700 Subject: [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 Closes #8965 from gweidner/SPARK-7275. --- .../org/apache/spark/sql/execution/datasources/LogicalRelation.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4069179aa7..783252e0a2 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 { -- cgit v1.2.3