diff options
author | gweidner <gweidner@us.ibm.com> | 2015-10-03 01:04:14 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-10-03 01:04:14 -0700 |
commit | 314bc68435ac3901a97724b9eccd1daf8f89578e (patch) | |
tree | 7d59fb044b7ffc544150bb26497a9e8b0ff59dc2 /sql | |
parent | f85aa06464a10f5d1563302fd76465dded475a12 (diff) | |
download | spark-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.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/LogicalRelation.scala | 2 |
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 { |