xuzq created HIVE-19722: --------------------------- Summary: Why the hive archive not support EXTERNAL_TABLE? Key: HIVE-19722 URL: https://issues.apache.org/jira/browse/HIVE-19722 Project: Hive Issue Type: Bug Reporter: xuzq
At present, out tables are EXTERNAL_TABLE, and there is a large amount of metadata information in NameNode, so i need to do archive to reduce the informations. But hive archive is only support MANAGED_TABLE。 Can someone explain why archive don't support EXTERNAL_TABLE? Is there any downsides if i changed the code this way? if (!(tbl.getTableType() == TableType.MANAGED_TABLE || tbl.getTableType() == TableType.EXTERNAL_TABLE)) { throw new HiveException("ARCHIVE can only be performed on managed tables"); } Thanks. -- This message was sent by Atlassian JIRA (v7.6.3#76005)