in src/main/java/com/epam/digital/data/platform/history/util/OperationalTableFieldResolvingUtil.java [53:62]
public static OperationalTableField resolveOperationalFieldValue(Object sqlColumnValue) {
return OPERATIONAL_TABLE_FIELD_TYPE_MAP.entrySet().stream()
.filter(entry -> entry.getKey().isInstance(sqlColumnValue))
.findFirst()
.map(entry -> entry.getValue().apply(sqlColumnValue))
.orElse(
new OperationalTableField(
Optional.ofNullable(sqlColumnValue).map(Object::toString).orElse(null),
OperationalTableFieldType.TEXT));
}