private CqlRowMetadata extractRowMetadata(Row row, Map<String, CqlColumnType> typeMap) {
// collect and count all columns
ColumnDefinitions definitions = row.getColumnDefinitions();
ImmutableList.Builder<CqlExtendedColumnName> columnsBuild = ImmutableList.builder();
CqlPartitionKey partitionKey = null;
for (int colIndex = 0; colIndex < definitions.size(); colIndex++) {
if (colIndex > config.cassandra.columnsLimit) {
LOG.debug("Reached columns limit: {}", config.cassandra.columnsLimit);
break;
}