Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/12801#issuecomment-216717803
  
    @andrewor14 What is the partition spec if one table has two partitions 
`a=1`, `b=1` and `a=1`, `c=2`? I think it is impossible to do that, right? 
    
    We enforce the partition spec of a drop partition command must strictly 
follow the partition spec of the table definition by the function 
`requireExactMatchedPartitionSpec ` 
https://github.com/apache/spark/pull/12801/files#diff-b3f9800839b9b9a1df9da9cbfc01adf8R545
    
    Let me know if you have any question about this. Thanks!


---
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