diff options
author | tedyu <yuzhihong@gmail.com> | 2015-11-10 16:52:26 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-11-10 16:52:59 -0800 |
commit | 900917541651abe7125f0d205085d2ab6a00d92c (patch) | |
tree | d63e9539267638227ee546f3964ca8c660cd22ee /sql | |
parent | 3e0a6cf1e02a19b37c68d3026415d53bb57a576b (diff) | |
download | spark-900917541651abe7125f0d205085d2ab6a00d92c.tar.gz spark-900917541651abe7125f0d205085d2ab6a00d92c.tar.bz2 spark-900917541651abe7125f0d205085d2ab6a00d92c.zip |
[SPARK-11615] Drop @VisibleForTesting annotation
See http://search-hadoop.com/m/q3RTtjpe8r1iRbTj2 for discussion.
Summary: addition of VisibleForTesting annotation resulted in spark-shell malfunctioning.
Author: tedyu <yuzhihong@gmail.com>
Closes #9585 from tedyu/master.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala index c2142d03f4..77843f53b9 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala @@ -17,8 +17,6 @@ package org.apache.spark.sql.execution -import com.google.common.annotations.VisibleForTesting - import org.apache.spark.rdd.RDD import org.apache.spark.sql.SQLContext import org.apache.spark.sql.catalyst.InternalRow @@ -33,7 +31,6 @@ import org.apache.spark.sql.catalyst.plans.logical.LogicalPlan */ class QueryExecution(val sqlContext: SQLContext, val logical: LogicalPlan) { - @VisibleForTesting def assertAnalyzed(): Unit = sqlContext.analyzer.checkAnalysis(analyzed) lazy val analyzed: LogicalPlan = sqlContext.analyzer.execute(logical) |