kasakrisz opened a new pull request #2984: URL: https://github.com/apache/hive/pull/2984
### What changes were proposed in this pull request? 1. Split implementation of `HiveMaterializedViewsRegistry` to a default `MaterializedViewsRegistry` and `InMemoryMaterializedViewsRegistry` 2. Add functionality to remove dropped MVs from cache at refresh 3. Add unit tests for Refresh algorithm ### Why are the changes needed? Dropped MVs stayed forver in the cache if the Drop operation was done by a different HS2 instance. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? ``` mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=materialized_view_create_rewrite_rebuild_dummy.q,materialized_view_create_rewrite_dummy.q -pl itests/qtest -Pitests mvn test -Dtest=TestHiveMaterializedViewsRegistryLoader -pl ql ``` -- 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]
