Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20999#discussion_r216131276
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala ---
    @@ -927,7 +927,7 @@ class SparkSqlAstBuilder(conf: SQLConf) extends 
AstBuilder(conf) {
         }
         AlterTableDropPartitionCommand(
           visitTableIdentifier(ctx.tableIdentifier),
    -      ctx.partitionSpec.asScala.map(visitNonOptionalPartitionSpec),
    +      ctx.dropPartitionSpec().asScala.map(visitDropPartitionSpec),
    --- End diff --
    
    Can you update the comment?: 
https://github.com/apache/spark/blob/01c3dfab158d40653f8ce5d96f57220297545d5b/sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala#L916


---

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

Reply via email to