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

    https://github.com/apache/spark/pull/11987#discussion_r58016427
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -271,6 +280,14 @@ case class AlterTableExchangePartition(
         spec: TablePartitionSpec)(sql: String)
       extends NativeDDLCommand(sql) with Logging
     
    +/**
    + * Drop Partition in ALTER TABLE/VIEW: to drop a particular partition for 
a table/view.
    + * This removes the data and metadata for this partition.
    + * The data is actually moved to the .Trash/Current directory if Trash is 
configured,
    + * unless 'purge' is true, but the metadata is completely lost.
    + * An error message will be issued if the partition does not exist, unless 
'ifExists' is false.
    --- End diff --
    
    As same as above.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to