Open
Description
Is your feature request related to a problem? Please describe.
As per: https://docs.aws.amazon.com/firehose/latest/dev/apache-iceberg-format-input-record-different.html
In order to set the target table while processing via lambda needs to set metadata as:
"metadata":{
"otfMetadata":{
"destinationTableName":"gameevents",
"destinationDatabaseName":"PlayerSpawn",
"operation":"insert"
}
}
But the response metadata struct only supports partition keys
aws-lambda-go/events/firehose.go
Line 40 in 1ba09af
type KinesisFirehoseResponseRecord struct {
.....
Metadata KinesisFirehoseResponseRecordMetadata `json:"metadata"`
}
type KinesisFirehoseResponseRecordMetadata struct {
PartitionKeys map[string]string `json:"partitionKeys"`
}
Describe the solution you'd like
Please support otfMetadata
as part of metadata for lambda response object.
Metadata
Metadata
Assignees
Labels
No labels