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

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

                Author: ASF GitHub Bot
            Created on: 30/Mar/23 23:11
            Start Date: 30/Mar/23 23:11
    Worklog Time Spent: 10m 
      Work Description: difin commented on code in PR #4161:
URL: https://github.com/apache/hive/pull/4161#discussion_r1153865111


##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -2929,10 +2929,10 @@ private void setStatsPropAndAlterPartition(boolean 
resetStatistics, Table tbl,
   }
 
   private void setStatsPropAndAlterPartitions(boolean resetStatistics, Table 
tbl,
-                                             List<Partition> partitions,
+                                              List<Partition> partitions,

Review Comment:
   Hi @rbalamohan, this change was intentional as this line was misaligned and 
I thought I should make it aligned if I do a fix in this method. Should I 
remove it? 
   
   Thanks for approving the rest!





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

    Worklog Id:     (was: 854026)
    Time Spent: 1h 40m  (was: 1.5h)

> `alterPartitions` is invoked twice during dynamic partition load causing 
> runtime delay
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-22383
>                 URL: https://issues.apache.org/jira/browse/HIVE-22383
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rajesh Balamohan
>            Assignee: Dmitriy Fingerman
>            Priority: Major
>              Labels: performance, pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> First invocation in {{Hive::loadDynamicPartitions}}
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2978
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java#L2638
> Second invocation in {{BasicStatsTask::aggregateStats}}
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStatsTask.java#L335
> This leads to good amount of delay in dynamic partition loading.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to