diff --git a/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrivilegeInfo.java b/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrivilegeInfo.java index 117219e1631c..cb3cb48352b1 100644 --- a/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrivilegeInfo.java +++ b/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/HivePrivilegeInfo.java @@ -68,6 +68,13 @@ public boolean isGrantOption() return grantOption; } + @JsonProperty + public PrestoPrincipal getGrantee() + { + return grantee; + } + + public static Set parsePrivilege(PrivilegeGrantInfo userGrant) { boolean withGrantOption = userGrant.isGrantOption();