amoro
amoro copied to clipboard
[Subtask]: unified catalog support mixed-hive table
Search before asking
- [X] I have searched in the issues and found no similar issues.
Description
Simply put, we no longer store metadata for mixed-hive tables on AMS, but instead retrieve it through information in HMS and the properties of base tables. The related logic for table creation, updates, deletions, and queries has all been modified. The base/change of mixed-hive table is still HadoopTable.
- When creating a table, remove the logic registered in AMS.
- When loading a table, first retrieve the root location from HMS, then load the base table based on the root location + "/base".
- When obtaining a list of tables, pull visible Hive tables from HMS and filter out non-mixed-Hive tables via the Arctic flag.
- When deleting a table, no longer delete metadata from AMS.
Parent issue
#1061
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct