Repository: spark
Updated Branches:
  refs/heads/master 23ddff4b2 -> 7e16c94f1


[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 <[email protected]>

Closes #15418 from jiangxb1987/parserSuite.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7e16c94f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7e16c94f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7e16c94f

Branch: refs/heads/master
Commit: 7e16c94f18ec07e4de63e66e06ad757b9e2550b9
Parents: 23ddff4
Author: jiangxingbo <[email protected]>
Authored: Mon Oct 10 13:49:25 2016 +0100
Committer: Sean Owen <[email protected]>
Committed: Mon Oct 10 13:49:25 2016 +0100

----------------------------------------------------------------------
 .../apache/spark/sql/execution/SparkSqlParserSuite.scala  | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/7e16c94f/sql/core/src/test/scala/org/apache/spark/sql/execution/SparkSqlParserSuite.scala
----------------------------------------------------------------------
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 e0976ae..679150e 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,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to