[ https://issues.apache.org/jira/browse/HIVE-25631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441561#comment-17441561 ]
Denys Kuzmenko commented on HIVE-25631: --------------------------------------- Merged to master. [~klcopp], thank you for the review! > Initiator speed-up: only read compaction history once per loop > -------------------------------------------------------------- > > Key: HIVE-25631 > URL: https://issues.apache.org/jira/browse/HIVE-25631 > Project: Hive > Issue Type: Task > Reporter: Denys Kuzmenko > Assignee: Denys Kuzmenko > Priority: Major > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > In checkFailedCompactions (which is called for every partition in the list of > potentials to compact) we select from metadata table COMPLETED_COMPACTIONS. > But the Initiator main loop already has a ShowCompactResponse. We can use > that instead. > For cases where metadata is huge, this will help speed up the Initiator. -- This message was sent by Atlassian Jira (v8.20.1#820001)