amoro
amoro copied to clipboard
[Improvement]: use table_identifier as cache for front-end list table
Search before asking
- [x] I have searched in the issues and found no similar issues.
What would you like to be improved?
Now, when we click Tables, ams will call formatCatalog's listTables methods ( if the catalog support multi formats, it will consume more time)
Especially for hive catalog, it's very slow to get response when there are thousands tables in one database.
How should we improve?
The table table_identifier contains all the tables. Although there may be some newly created tables that are not yet synchronized, this is acceptable compared to response times reaching tens of seconds, and the cost is minimal.
Are you willing to submit PR?
- [x] Yes I am willing to submit a PR!
Subtasks
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct