csurong opened a new pull request, #4351: URL: https://github.com/apache/amoro/pull/4351
## Why are the changes needed? Hive views may be returned by Hive Metastore listing APIs and exposed as manageable tables. Opening one can make `MixedHiveCatalog` dereference a null storage location and return HTTP 500. This PR excludes Hive virtual and materialized views from Amoro table management paths and rejects them before physical table metadata is accessed. Closes #4350. ## Brief change log - Add lightweight HMS table metadata access and centralized Hive view classification. - Filter views from native Hive, Iceberg HiveCatalog, and Mixed Hive listings. - Reject views and invalid physical metadata during table loading. - Add unit and integration coverage for Hive, Iceberg, and Mixed Hive paths. ## How was this patch tested? - [x] Add test cases that check the changes thoroughly including negative and positive cases if possible. - [ ] Add screenshots for manual tests if appropriate. - [x] Run tests locally before making a pull request. The targeted unit and integration tests passed. AMS compilation, Hadoop 2/Hive 2.3 compilation, Spotless, Checkstyle, and diff checks also passed. ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable -- 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]
