Skip to content

Delta migration#303

Merged
JWittmeyer merged 21 commits intodevfrom
delta-migration
May 23, 2025
Merged

Delta migration#303
JWittmeyer merged 21 commits intodevfrom
delta-migration

Conversation

@JWittmeyer
Copy link
Copy Markdown
Member

@JWittmeyer JWittmeyer commented May 21, 2025

PRs:

Notes:

Threshold is currently a constant 50% of records in embedding so for 100 records > 50 new (accumilated) trigger a full recalculation. This has nothing to do with attribute calc delta. Attributes always calculate only for the delta

Affected Areas:

  • embedding creation (For threshold in DB)
  • uploading records to refinery (calculates delta & depending on threshold only adds new or recrates the whole)

Added Tests:

  • test_upload_records_to_project //add records to a project (not actually upload via s3)
  • test_create_embedding //test to create an embedding
  • test_update_records_to_project //test for adding & updating records + delta of embedding

@JWittmeyer JWittmeyer marked this pull request as ready for review May 23, 2025 07:33
@JWittmeyer JWittmeyer merged commit d314536 into dev May 23, 2025
1 check passed
@JWittmeyer JWittmeyer deleted the delta-migration branch May 23, 2025 12:18
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.

3 participants