List<String> tableTypes) throws ExploreException, SQLException {
try {
Map<String, String> sessionConf = startSession();
SessionHandle sessionHandle = cliService.openSession("", "", sessionConf);
try {
OperationHandle operationHandle = cliService.getTables(sessionHandle, catalog, schemaPattern,
tableNamePattern, tableTypes);
QueryHandle handle = saveOperationInfo(operationHandle, sessionHandle, sessionConf, "");
LOG.trace("Retrieving tables: catalog {}, schemaNamePattern {}, tableNamePattern {}, tableTypes {}",
catalog, schemaPattern, tableNamePattern, tableTypes);
return handle;