Skip to content

dynamodb results split#313

Merged
twelch merged 11 commits intodevfrom
result-split
Jul 13, 2024
Merged

dynamodb results split#313
twelch merged 11 commits intodevfrom
result-split

Conversation

@twelch
Copy link
Copy Markdown
Contributor

@twelch twelch commented Jul 10, 2024

Resolves #312

Behavior:

  • splits results if a metrics array is present, and for more than one sketch.
  • groups results by sketchID, and creates a child DB item for each one, that the root DB item tracks using childSketchItems array of sketches.
  • Only splits results into multiple dynamodb items if over threshold of 380KB

Testing:

  • Adds back tasks class e2e testing using dynamodb-local package.
  • adds additional tests for split scenarios

@twelch twelch marked this pull request as ready for review July 11, 2024 05:56
@twelch twelch merged commit 61c2463 into dev Jul 13, 2024
@twelch twelch deleted the result-split branch July 13, 2024 16:51
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

Successfully merging this pull request may close these issues.

Function results are again surpassing dynamodb limit of 400KB

1 participant