private void saveStoredProcInHMS(StoredProcedure proc) {
    try {
      msc.createStoredProcedure(proc);
    } catch (TException e) {
      throw new RuntimeException(e);
    }
  }
Execute a stored procedure using CALL or EXEC statement passing parameters
hplsql/src/main/java/org/apache/hive/hplsql/functions/HmsFunctionRegistry.java