private boolean compatibleTypes(DataType summaryType, DataType existingType) {
        if (summaryType instanceof TensorDataType && existingType instanceof TensorDataType) {
            return summaryType.isAssignableFrom(existingType); // TODO: Just do this for all types
        }
        return summaryType.equals(existingType);
    }
Ensure that summary field transforms for fields having the same name
are consistent across summary classes

@author bratseth
config-model/src/main/java/com/yahoo/schema/processing/SummaryConsistency.java