kasakrisz opened a new pull request #2986: URL: https://github.com/apache/hive/pull/2986
### What changes were proposed in this pull request? Remove the MV entry from `HiveMaterializedViewsRegistry` created by q tests in `QTestUtil`. ### Why are the changes needed? Uncleaned `HiveMaterializedViewsRegistry` caused interference with other q tests when running them in batch. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? 1. Remove the `DROP MATERIALIZED VIEW` statements from some qtests which deals with MVs and run them in batch. Attache a debugger and check the state of `HiveMaterializedViewsRegistry` after each test run in `QTestUtil`. 2. Both tests creates MV with the same name and the interference affects the MV rebuild plan in materialized_view_partitioned_2.q ``` mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=materialized_view_partitioned.q,materialized_view_partitioned_2.q -pl itests/qtest -Pitests ``` -- 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]
