You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jd...@apache.org on 2019/04/04 19:57:09 UTC

[hive] branch master updated: HIVE-21561: Revert removal of TableType.INDEX_TABLE enum (Jason Dere, reviewed by Prasanth Jayachandran)

This is an automated email from the ASF dual-hosted git repository.

jdere pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a95b0a  HIVE-21561: Revert removal of TableType.INDEX_TABLE enum (Jason Dere, reviewed by Prasanth Jayachandran)
5a95b0a is described below

commit 5a95b0a34a1c7fb423a4a651985364faf3874739
Author: Jason Dere <jd...@hortonworks.com>
AuthorDate: Thu Apr 4 12:56:13 2019 -0700

    HIVE-21561: Revert removal of TableType.INDEX_TABLE enum (Jason Dere, reviewed by Prasanth Jayachandran)
---
 .../src/main/java/org/apache/hadoop/hive/metastore/TableType.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/TableType.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/TableType.java
index 33f394d..d8d6f1a 100644
--- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/TableType.java
+++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/TableType.java
@@ -22,5 +22,11 @@ package org.apache.hadoop.hive.metastore;
  * Typesafe enum for types of tables described by the metastore.
  */
 public enum TableType {
-  MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, MATERIALIZED_VIEW
+  MANAGED_TABLE,
+  EXTERNAL_TABLE,
+  VIRTUAL_VIEW,
+  // @deprecated
+  // INDEX_TABLE enum is deprecated
+  INDEX_TABLE,
+  MATERIALIZED_VIEW
 }