aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgweidner <gweidner@us.ibm.com>2015-10-03 01:04:14 -0700
committerReynold Xin <rxin@databricks.com>2015-10-03 01:04:14 -0700
commit314bc68435ac3901a97724b9eccd1daf8f89578e (patch)
tree7d59fb044b7ffc544150bb26497a9e8b0ff59dc2
parentf85aa06464a10f5d1563302fd76465dded475a12 (diff)
downloadspark-314bc68435ac3901a97724b9eccd1daf8f89578e.tar.gz
spark-314bc68435ac3901a97724b9eccd1daf8f89578e.tar.bz2
spark-314bc68435ac3901a97724b9eccd1daf8f89578e.zip
[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.
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala2
1 files changed, 1 insertions, 1 deletions
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 {