Map<String, String> sessionConf = startSession();
SessionHandle sessionHandle = cliService.openSession("", "", sessionConf);
try {
OperationHandle operationHandle = cliService.getColumns(sessionHandle, catalog, schemaPattern,
tableNamePattern, columnNamePattern);
QueryHandle handle = saveOperationInfo(operationHandle, sessionHandle, sessionConf, "");
LOG.trace("Retrieving columns: catalog {}, schemaPattern {}, tableNamePattern {}, columnNamePattern {}",
catalog, schemaPattern, tableNamePattern, columnNamePattern);
return handle;
} catch (Throwable e) {
closeSession(sessionHandle);