You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/10/10 12:49:31 UTC

spark git commit: [HOT-FIX][SQL][TESTS] Remove unused function in `SparkSqlParserSuite`

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 <ji...@gmail.com>

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 <ji...@gmail.com>
Authored: Mon Oct 10 13:49:25 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org