private void verifyUDFNotAllowed(Statement stmt, String tableName, String udfcall, String udfname) {
    try {
      stmt.execute("SELECT " + udfcall + " from " + tableName);
      fail("Disallowed udf usage should have resulted in error");
    } catch (SQLException e) {
      checkAssertContains("UDF " + udfname + " is not allowed", e.getMessage());
    }
  }
Test SQL standard authorization with jdbc/hiveserver2. Specifically udf blacklist behavior.
This test needs to start minihs2 with specific configuration, so it is in a different
test file from {@link TestJdbcWithSQLAuthorization}
itests/hive-unit/src/test/java/org/apache/hive/jdbc/authorization/TestJdbcWithSQLAuthUDFBlacklist.java