@Override
  public void addUserProcedure(HplsqlParser.Create_procedure_stmtContext ctx) {
    String name = ctx.ident(0).getText().toUpperCase();
    if (builtinFunctions.exists(name)) {
      exec.info(ctx, name + " is a built-in function which cannot be redefined.");
      return;
    }
    trace(ctx, "CREATE PROCEDURE " + name);
    StoredProcedure proc = newStoredProc(name, Exec.getFormattedText(ctx));
    saveInCache(name, ctx);
    saveStoredProcInHMS(proc);
  }
Execute a stored procedure using CALL or EXEC statement passing parameters
hplsql/src/main/java/org/apache/hive/hplsql/functions/HmsFunctionRegistry.java