public static void executeSql(String sql, String url, String user, String password) throws Exception {
        try (Connection conn = getConnection(url, user, password);
                Statement stmt = conn.createStatement()) {

            stmt.execute(sql);
            LOGGER.info("execute sql [{}] success for url: {}", sql, url);
        }
    }
Execute sql on the specified Hive Server

@param sql need to execute
@param url url of hive server
@param user user of hive server
@param password password of hive server
@throws Exception when executing error
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/hive/HiveJdbcUtils.java