private Target targetAddNew(Record record, DimTableByDimType dimTableByDimType) {
        System.out.println("Add new target");
        Map<String, String> dimensions = new HashMap<String, String>();
        for (String dimField : dimTableByDimType.getDimensionsColumns()) {
            dimensions.put(dimField.toLowerCase(), record.getFields().get(dimField.toLowerCase()));
        }
        for (String dimComField : dimTableByDimType.getDimensionsCompositeColumns()) {
            if (record.getFields().containsKey(dimComField.toLowerCase())) {
                dimensions.put(dimComField.toLowerCase(), record.getFields().get(dimComField.toLowerCase()));
            }
        }
        Set<UUID> recordUUID = new TreeSet<UUID>();
        recordUUID.add(record.getKey());
        Target target = new Target(record.getClient(), record.getBroker(), dimensions, recordUUID, record.getRecEntity());
        targetRepository.save(target);
        return target;
    }