From 7e16c94f18ec07e4de63e66e06ad757b9e2550b9 Mon Sep 17 00:00:00 2001
From: jiangxingbo <jiangxb1987@gmail.com>
Date: Mon, 10 Oct 2016 13:49:25 +0100
Subject: [PATCH] [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.
---
 .../spark/sql/execution/SparkSqlParserSuite.scala      | 10 ----------
 1 file changed, 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,
-- 
GitLab