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

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

                Author: ASF GitHub Bot
            Created on: 27/Jul/21 02:00
            Start Date: 27/Jul/21 02:00
    Worklog Time Spent: 10m 
      Work Description: rbalamohan opened a new pull request #2533:
URL: https://github.com/apache/hive/pull/2533


   ### Why are the changes needed?
   https://issues.apache.org/jira/browse/HIVE-25014
   
   Table details were fetched multiple times within column stats updation. 
Depending on the width of the table, this was called multiple times. Datanuc* 
moves from persistent -> detached state on commit. 
https://www.datanucleus.org/products/accessplatform_4_2/jpa/object_lifecycle.html.
   Since we commit at the end of all processing, fetching table details once is 
good enough.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   small internal cluster


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

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

> Optimise ObjectStore::updateTableColumnStatistics
> -------------------------------------------------
>
>                 Key: HIVE-25014
>                 URL: https://issues.apache.org/jira/browse/HIVE-25014
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> "ObjectStore::updateTableColumnStatistics" fetches table level details 
> multiple times. Need to consider reducing the getTable lookups to avoid 
> pressure on HMS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to