[ https://issues.apache.org/jira/browse/HIVE-20316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573285#comment-16573285 ]
Sankar Hariappan edited comment on HIVE-20316 at 8/8/18 2:25 PM: ----------------------------------------------------------------- Attached 03.patch which uses MetaStoreUtils.isExternalTable instead of checking tableType. No change in functionality. was (Author: sankarh): Attached 03.patch is use MetaStoreUtils.isExternalTable instead of checking tableType. > Skip external table file listing for create table event. > -------------------------------------------------------- > > Key: HIVE-20316 > URL: https://issues.apache.org/jira/browse/HIVE-20316 > Project: Hive > Issue Type: Bug > Components: HCatalog, repl > Affects Versions: 3.1.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Labels: DR, pull-request-available, replication > Attachments: HIVE-20316.01.patch, HIVE-20316.02.patch, > HIVE-20316.03.patch > > > We are currently skipping external table replication. We shall also skip > listing all the files in create table event generation for external tables. > External tables might have very large number of files, so it would take long > time to list them. -- This message was sent by Atlassian JIRA (v7.6.3#76005)