transformValueRecursingIntoArrays
fun EnrichedAirbyteValue.transformValueRecursingIntoArrays(transformer: (AirbyteValue, AirbyteType) -> ChangedValue?)
Our Airbyte<>Iceberg schema conversion generates strongly-typed arrays.
This function applies a function to every non-array-typed value, recursing into arrays as needed. transformer may assume that the AirbyteValue is a valid value for the AirbyteType. For example, if transformer is called with a NumberType, it is safe to cast the value to NumberValue.