Zusammen import fails to serialize maps
Issue-ID: SDC-941
Change-Id: Ie864c209dc0437ce402a789cb13f042700fc78ac
Signed-off-by: shrek2000 <orenkle@amdocs.com>
Map<Object, Object> map = row.getMap(i, Object.class, Object.class);
Set<Map.Entry<Object, Object>> entrySet = map.entrySet();
Object mapAsString = entrySet.parallelStream().map(entry -> entry.getKey().toString() + ExportDataCommand.MAP_DELIMITER + entry.getValue().toString())
- .collect(Collectors.joining(ExportDataCommand.MAP_DELIMITER));
+ .collect(Collectors.joining(ExportDataCommand.JOIN_DELIMITER));
data = Base64.getEncoder().encodeToString(mapAsString.toString().getBytes());
break;
default: