This is an automated email from the ASF dual-hosted git repository.

gengliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new fb11c46  [SPARK-36587][SQL][FOLLOWUP] Remove unused 
CreateNamespaceStatement
fb11c46 is described below

commit fb11c466ae47ae401cfe56937cdcb686b567a1e3
Author: Huaxin Gao <huaxin_...@apple.com>
AuthorDate: Thu Sep 16 19:56:45 2021 +0800

    [SPARK-36587][SQL][FOLLOWUP] Remove unused CreateNamespaceStatement
    
    ### What changes were proposed in this pull request?
    remove `CreateNamespaceStatement`
    
    ### Why are the changes needed?
    remove unused code
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    existing tests
    
    Closes #34015 from huaxingao/rm_create_ns_stmt.
    
    Authored-by: Huaxin Gao <huaxin_...@apple.com>
    Signed-off-by: Gengliang Wang <gengli...@apache.org>
---
 .../org/apache/spark/sql/catalyst/plans/logical/statements.scala  | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala
 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala
index 378e6ba..81a44e6 100644
--- 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala
+++ 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala
@@ -274,14 +274,6 @@ case class InsertIntoStatement(
 }
 
 /**
- * A CREATE NAMESPACE statement, as parsed from SQL.
- */
-case class CreateNamespaceStatement(
-    namespace: Seq[String],
-    ifNotExists: Boolean,
-    properties: Map[String, String]) extends LeafParsedStatement
-
-/**
  * A USE statement, as parsed from SQL.
  */
 case class UseStatement(isNamespaceSet: Boolean, nameParts: Seq[String]) 
extends LeafParsedStatement

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to