jinxing64 opened a new pull request, #5672:
URL: https://github.com/apache/hudi/pull/5672

   ## What is the purpose of the pull request
   
   If a hudi table directory is lost on DFS due to some maloperation and cannot 
restore, user cannot drop it from SQL interface any more. We may provide an 
easy way for user to drop the table and do cleanup work. 
   When resolving DropTableCommand, Spark analyzer retrieves schema of 
underlying table relation. Currently HoodieCatalogTable queries 
HoodieTableMetaClient for table schema, which cannot be constructed if table 
directory is broker/lost.
   
   ## Brief change log
   
     - Adjust HoodieCatalogTable -- returns table schema without dependency on 
underlying filesystem.
   
   ## Verify this pull request
   
     - *Added tests*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.
   


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

Reply via email to