[ 
https://issues.apache.org/jira/browse/HIVE-25906?focusedWorklogId=716920&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-716920
 ]

ASF GitHub Bot logged work on HIVE-25906:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jan/22 08:12
            Start Date: 28/Jan/22 08:12
    Worklog Time Spent: 10m 
      Work Description: 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]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 716920)
    Remaining Estimate: 0h
            Time Spent: 10m

> Clean MaterializedViewCache after q test run
> --------------------------------------------
>
>                 Key: HIVE-25906
>                 URL: https://issues.apache.org/jira/browse/HIVE-25906
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Krisztian Kasa
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to