IcebergUtil
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Builds an Iceberg Catalog.
Link copied to clipboard
Create the namespace if it doesn't already exist.
Link copied to clipboard
fun createTable(streamDescriptor: DestinationStream.Descriptor, catalog: Catalog, schema: Schema): Table
Builds (if necessary) an Iceberg Table. This includes creating the table's namespace if it does not already exist. If the Table already exists, it is loaded from the Catalog.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toRecord(record: EnrichedDestinationRecordAirbyteValue, stream: DestinationStream, tableSchema: Schema): Record
Converts an Airbyte EnrichedDestinationRecordAirbyteValue into an Iceberg Record. The converted record will be wrapped to include Operation information, which is used by the writer to determine how to write the data to the underlying Iceberg files.