use of org.apache.hadoop.hive.metastore.events.PreReadTableEvent in project hive by apache.
the class ReadTableEvent method getInputHObjs.
private List<HivePrivilegeObject> getInputHObjs() {
LOG.debug("==> ReadTableEvent.getInputHObjs()");
List<HivePrivilegeObject> ret = new ArrayList<>();
PreReadTableEvent preReadTableEvent = (PreReadTableEvent) preEventContext;
String dbName = preReadTableEvent.getTable().getDbName();
Table table = preReadTableEvent.getTable();
ret.add(getHivePrivilegeObject(table));
LOG.debug("<== ReadTableEvent.getInputHObjs()" + ret);
return ret;
}
Aggregations