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

Allow for dynamic columns, instead of one stringified column for the message #6

Open
RLRabinowitz opened this issue Jun 22, 2021 · 0 comments

Comments

@RLRabinowitz
Copy link
Contributor

Currently there are only 3 columns: id, timestamp and message. The message is always a JSON containing the field message, and sometimes contains other fields. Maybe we should allow for expanding each of those to its own column? That would allow customers to define GSIs on those columns and query by those columns.

This would require:

  • Stringifying the values of those fields
  • Removing lines with values that are empty, or empty strings, since DynamoDB doesn't allow that
  • Changing the event size logic a bit (we need to check of this is true. This way would probably make each item smaller, because of how DynamoDB calculates item size)
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

1 participant