zhangbutao commented on code in PR #3218:
URL: https://github.com/apache/hive/pull/3218#discussion_r2422620893


##########
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilegeObject.java:
##########
@@ -144,20 +162,22 @@ public enum HivePrivObjectActionType {
   // is applied to the table.
   private String rowFilterExpression;
 
-  public HivePrivilegeObject(HivePrivilegeObjectType type, String dbname, 
String objectName) {
-    this(type, dbname, objectName, HivePrivObjectActionType.OTHER);
+  public HivePrivilegeObject(HivePrivilegeObjectType type, String objectName) {

Review Comment:
   Apache Spark also uses `HivePrivilegeObject ` :
   
https://github.com/apache/spark/blob/c5ff48cc2b2c5a1526789ae414ff4c63b053d3ec/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/operation/GetColumnsOperation.java#L223



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to