wangyum opened a new pull request, #38011:
URL: https://github.com/apache/spark/pull/38011

   ### What changes were proposed in this pull request?
   
   This PR adds `PURGE` in `DROP TABLE` documentation.
   
   Related documentation and code:
   1. Hive `DROP TABLE` documentation:
       https://cwiki.apache.org/confluence/display/hive/languagemanual+ddl
       <img width="877" alt="image" 
src="https://user-images.githubusercontent.com/5399861/192425153-63ac5373-dd34-48b3-864c-324cf5ba5db9.png";>
   2. Hive code:
       
https://github.com/apache/hive/blob/rel/release-2.3.9/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L1185-L1209
   3. Spark code:
       
https://github.com/apache/spark/blob/v3.3.0/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveShim.scala#L1317-L1327
   
   ### Why are the changes needed?
   
   Enhance documentation.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   manual test.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to