public static Connection getConnection(String url, String user, String password) throws Exception {
        UrlVerificationUtils.extractHostAndValidatePortFromJdbcUrl(url, HIVE_JDBC_PREFIX);
        return createConnection(url, user, password);
    }
Get Hive connection from Hive URL and user.

@param url      JDBC URL, such as jdbc:hive2://host:port/database
@param user     Username for JDBC URL
@param password User password
@return {@link Connection}
@throws Exception on get connection error
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/hive/HiveJdbcUtils.java