[
https://issues.apache.org/jira/browse/HIVE-26717?focusedWorklogId=839720&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-839720
]
ASF GitHub Bot logged work on HIVE-26717:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jan/23 17:24
Start Date: 17/Jan/23 17:24
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3935:
URL: https://github.com/apache/hive/pull/3935#discussion_r1072518934
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java:
##########
@@ -342,15 +342,17 @@ public CompactionInfo
findNextToCompact(FindNextCompactRequest rqst) throws Meta
public void markCompacted(CompactionInfo info) throws MetaException {
try {
Connection dbConn = null;
- Statement stmt = null;
+ PreparedStatement pstmt = null;
Review Comment:
use try-with-resources since you refactored this method, it's reported in
findbugs
Issue Time Tracking
-------------------
Worklog Id: (was: 839720)
Time Spent: 2h 20m (was: 2h 10m)
> Query based Rebalance compaction on insert-only tables
> ------------------------------------------------------
>
> Key: HIVE-26717
> URL: https://issues.apache.org/jira/browse/HIVE-26717
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: ACID, compaction, pull-request-available
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)