IcebergNullOutOfRangeIntegers

class IcebergNullOutOfRangeIntegers(minValue: BigInteger = Long.MIN_VALUE.toBigInteger(), maxValue: BigInteger = Long.MAX_VALUE.toBigInteger()) : AirbyteValueIdentityMapper

Iceberg wants to write objects/unions as JSON strings, but arrays as strongly-typed. Therefore, we need to handle top-level ints, and arrays of ints, but should ignore ints inside objects, and ints inside unions.

Constructors

Link copied to clipboard
constructor(minValue: BigInteger = Long.MIN_VALUE.toBigInteger(), maxValue: BigInteger = Long.MAX_VALUE.toBigInteger())

Functions

Link copied to clipboard
open override fun map(value: AirbyteValue, schema: AirbyteType, changes: List<Meta.Change>): Pair<AirbyteValue, List<Meta.Change>>
Link copied to clipboard
fun nulledOut(schema: AirbyteType, context: AirbyteValueIdentityMapper.Context, reason: AirbyteRecordMessageMetaChange.Reason): Pair<AirbyteValue, AirbyteValueIdentityMapper.Context>