String array becomes String after index
The String array becomes String after it is indexed. Bug should be introduced by MR 649
To illustrate the problem, I used one example from Augmenter Configuration that has String array attributes.
- Storage Format of part of data payload:
- Index (document) Format of part of data payload returned by method in class StorageIndexerPayloadMapper
public Map<String, Object> mapDataPayload(ArrayList<String> asIngestedCoordinatesPaths, IndexSchema storageSchema, Map<String, Object> storageRecordData,
String recordId) {
Map<String, Object> dataCollectorMap = new HashMap<>();
//..
mapDataPayload(storageSchema.getDataSchema(), storageRecordData, recordId, dataCollectorMap);
//...
return dataCollectorMap;
}
Edited by Zhibin Mai