[
https://issues.apache.org/jira/browse/HIVE-24820?focusedWorklogId=557028&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-557028
]
ASF GitHub Bot logged work on HIVE-24820:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Feb/21 14:46
Start Date: 24/Feb/21 14:46
Worklog Time Spent: 10m
Work Description: kasakrisz opened a new pull request #2013:
URL: https://github.com/apache/hive/pull/2013
### What changes were proposed in this pull request?
Replace `ConcurrentMap.compute` to `computeIfAbsent` in
`MaterializedViewsCache.putIfAbsent`
### Why are the changes needed?
Using `ConcurrentMap.compute` enabled adding multiple entries of the same
Materialization instance to the sqlText -> materialization map.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
```
mvn test -Dtest=TestMaterializedViewsCache -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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 557028)
Remaining Estimate: 0h
Time Spent: 10m
> MaterializedViewCache enables adding multiple entries of the same
> Materialization instance
> ------------------------------------------------------------------------------------------
>
> Key: HIVE-24820
> URL: https://issues.apache.org/jira/browse/HIVE-24820
> Project: Hive
> Issue Type: Bug
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)