Skip to content

Commit

Permalink
feat: support of otf metadata for iceberg destinations
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleduigou committed Nov 12, 2024
1 parent 8e674da commit ddb950d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion events/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ type KinesisFirehoseResponseRecord struct {
}

type KinesisFirehoseResponseRecordMetadata struct {
PartitionKeys map[string]string `json:"partitionKeys"`
PartitionKeys map[string]string `json:"partitionKeys"`
OtfMetadata KinesisFirehoseResponseRecordMetadataOtfMetadata `json:"otfMetadata"`
}

type KinesisFirehoseResponseRecordMetadataOtfMetadata struct {
DestinationDatabaseName string `json:"destinationDatabaseName"`
DestinationTableName string `json:"destinationTableName"`
Operation string `json:"operation"`
}

type KinesisFirehoseRecordMetadata struct {
Expand Down

0 comments on commit ddb950d

Please sign in to comment.