Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

option to handle or filter out blank strings for the sink #10

Open
dollschasingmen opened this issue Dec 22, 2016 · 3 comments
Open

option to handle or filter out blank strings for the sink #10

dollschasingmen opened this issue Dec 22, 2016 · 3 comments

Comments

@dollschasingmen
Copy link
Contributor

I know this is an issue due to DynamoDb but it would be really convenient if the connect had an option to simply remove attributes that are blank strings. Currently we are handling this issue (kind of poorly) upstream in the kafka stream stage.

I feel like this is kind of an odd quirk of DynamoDb that I don't really see in many other data stores and would be nice if the connect shielded this annoying detail from the rest of the systems.

@dollschasingmen
Copy link
Contributor Author

a similar idea to: aws/aws-sdk-js#833

@shikhar
Copy link
Owner

shikhar commented Jan 3, 2017

Interesting, I think this could also potentially be handled with a single-message-transform (KIP-66).

But happy to implement in this connector since it seems like DynamoDb specifically does not allow empty string values. Feel free to submit a PR even if it's just basic filtering of such attribute values, or I can get to it.

@shikhar
Copy link
Owner

shikhar commented Jan 3, 2017

Additionally it appears empty sets are not allowed: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

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

No branches or pull requests

2 participants