Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinesis Firehose lambda api doesn't support routing to multiple table for iceberg #575

Open
amalakar opened this issue Nov 20, 2024 · 2 comments

Comments

@amalakar
Copy link

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

PartitionKeys map[string]string `json:"partitionKeys"`

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.

@seanhagen
Copy link

Would really love to get the associated PR finished & merged; I need this functionality for something I'm working on!

@110Sw1t
Copy link

110Sw1t commented Feb 16, 2025

Waiting for it here as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants