wecharyu opened a new pull request, #4073:
URL: https://github.com/apache/hive/pull/4073

   ### What changes were proposed in this pull request?
   Check if the SD of a Partition exists to avoid NPE. 
   
   
   ### Why are the changes needed?
   The Partition SD may lost in backend metadata database for some reasons. For 
these partitions with corrupted metadata, we can  not even drop them if the NPE 
exists.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   No new tests.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to