}
@Override
public Map<String, ConnectorColumnHandle> getColumnHandles(ConnectorTableHandle tableHandle)
{
SchemaTableName tableName = getTableName(tableHandle);
try {
Table table = metastore.getTable(tableName.getSchemaName(), tableName.getTableName());
ImmutableMap.Builder<String, ConnectorColumnHandle> columnHandles = ImmutableMap.builder();
for (HiveColumnHandle columnHandle : getColumnHandles(table, false)) {
columnHandles.put(columnHandle.getName(), columnHandle);
}
return columnHandles.build();