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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to