Skip to content

Delta migration #303

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

Merged
merged 21 commits into from
May 23, 2025
Merged

Delta migration #303

merged 21 commits into from
May 23, 2025

Conversation

JWittmeyer
Copy link
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