[ 
https://issues.apache.org/jira/browse/HIVE-14237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574390#comment-15574390
 ] 

Thejas M Nair commented on HIVE-14237:
--------------------------------------

[~ashutoshc] The call to MetaStoreUtils.updateTableStatsFast from 
HiveMetaStore.create_table_core no longer there after this change. That should 
also move to before the openTransaction, is that right ?


> Move stats collection logic out of transaction for create table
> ---------------------------------------------------------------
>
>                 Key: HIVE-14237
>                 URL: https://issues.apache.org/jira/browse/HIVE-14237
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>    Affects Versions: 1.0.0, 1.2.0, 1.1.0, 2.0.0, 2.1.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-14237.1.patch, HIVE-14237.patch
>
>
> Stats collection logic interacts with FS which may take long time. There is 
> no need to do that inside DB transaction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to