[ https://issues.apache.org/jira/browse/FLINK-31946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722855#comment-17722855 ]
Hong Liang Teoh commented on FLINK-31946: ----------------------------------------- Hi [~cjensen] ! Thanks for creating this issue. Trying to understand the use case better here. If we want 1 record to map to 2 WriteRequests, would doing a FlatMap before the sink operator work? If the intention is to have more efficient reads, could we instead use a GSI? > DynamoDB Sink Allow Multiple Item Writes > ---------------------------------------- > > Key: FLINK-31946 > URL: https://issues.apache.org/jira/browse/FLINK-31946 > Project: Flink > Issue Type: Improvement > Components: Connectors / DynamoDB > Reporter: Curtis Jensen > Priority: Minor > > In some cases, it is desirable to be able to write aggregation data to > multiple partition keys. This supports the case of denormalizing data to > facilitate more efficient read operations. > However, the DynamoDBSink allows for only a single DynamoDB item to be > generated for each Flink Element. This appears to be a limitation of the > ElementConverter more than DyanmoDBSink. -- This message was sent by Atlassian Jira (v8.20.10#820010)