diff options
author | jiangxingbo <jiangxb1987@gmail.com> | 2016-10-10 13:49:25 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-10-10 13:49:25 +0100 |
commit | 7e16c94f18ec07e4de63e66e06ad757b9e2550b9 (patch) | |
tree | cb06befe0ca3d1e12a6a01664a62de8f28f230f1 | |
parent | 23ddff4b2b2744c3dc84d928e144c541ad5df376 (diff) | |
download | spark-7e16c94f18ec07e4de63e66e06ad757b9e2550b9.tar.gz spark-7e16c94f18ec07e4de63e66e06ad757b9e2550b9.tar.bz2 spark-7e16c94f18ec07e4de63e66e06ad757b9e2550b9.zip |
[HOT-FIX][SQL][TESTS] Remove unused function in `SparkSqlParserSuite`
## What changes were proposed in this pull request?
The function `SparkSqlParserSuite.createTempViewUsing` is not used for now and causes build failure, this PR simply removes it.
## How was this patch tested?
N/A
Author: jiangxingbo <jiangxb1987@gmail.com>
Closes #15418 from jiangxb1987/parserSuite.
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala index e0976ae950..679150e9ae 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala @@ -116,16 +116,6 @@ class SparkSqlParserSuite extends PlanTest { ) } - private def createTempViewUsing( - table: String, - database: Option[String] = None, - schema: Option[StructType] = None, - replace: Boolean = true, - provider: String = "parquet", - options: Map[String, String] = Map.empty): LogicalPlan = { - CreateTempViewUsing(TableIdentifier(table, database), schema, replace, provider, options) - } - private def createTable( table: String, database: Option[String] = None, |