[
https://issues.apache.org/jira/browse/FLINK-31946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723530#comment-17723530
]
Curtis Jensen commented on FLINK-31946:
---------------------------------------
GSI turns out to be problematic to implement as there still need to be multiple
inserts. In the original example, there would need to be the ability to query
by multiple account ids, and there would need to be a GSI item for each account
id. So while, the cost may not be a major limiting factor, there is still a
functional restriction with the 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)