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 2016/04/20 00:25:38 UTC

[46/58] [abbrv] hive git commit: HIVE-13477: Set HivePrivilegeObjectType to TABLE_OR_VIEW (Pengcheng Xiong, reviewed by Ashutosh Chauhan)

HIVE-13477: Set HivePrivilegeObjectType to TABLE_OR_VIEW (Pengcheng Xiong, reviewed by Ashutosh Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/98699b3b
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/98699b3b
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/98699b3b

Branch: refs/heads/llap
Commit: 98699b3b7e961630e4da1404fa1c94f61dfd1a61
Parents: a207923
Author: Pengcheng Xiong <px...@apache.org>
Authored: Thu Apr 14 13:17:22 2016 -0700
Committer: Pengcheng Xiong <px...@apache.org>
Committed: Thu Apr 14 13:17:22 2016 -0700

----------------------------------------------------------------------
 .../hive/ql/security/authorization/plugin/HivePrivilegeObject.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/98699b3b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java
index 180006f..41983f1 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java
@@ -151,7 +151,7 @@ public class HivePrivilegeObject implements Comparable<HivePrivilegeObject> {
   }
 
   public HivePrivilegeObject(String dbname, String objectName, List<String> columns) {
-    this(null, dbname, objectName, null, columns, null);
+    this(HivePrivilegeObjectType.TABLE_OR_VIEW, dbname, objectName, null, columns, null);
   }
 
   public HivePrivilegeObject(HivePrivilegeObjectType type, String dbname, String objectName,