@Override
  public void copyToNewInstance(Object newInstance) throws UDFArgumentException {
    super.copyToNewInstance(newInstance);
    // Need to preserve authorizer flag
    GenericUDFCurrentAuthorizer other = (GenericUDFCurrentAuthorizer) newInstance;
    if (this.authorizer != null) {
      other.authorizer = new Text(this.authorizer);
    }
  }
UDF to determine the current authorizer (class name of the authorizer)
This is intended for internal usage only. This function is not a deterministic function,
but a runtime constant. The return value is constant within a query but can be different between queries
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFCurrentAuthorizer.java