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

fix: merges records with the same values #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hhuntaa
Copy link

@hhuntaa hhuntaa commented Oct 29, 2024

fixes #122, i dont know if this is exactly what you wanted so you might have to review it, it merges records with the same values while keeping the earliest first seen at date with the oldest last seen at date.

fixes zkemail#122, i dont
know if this is exactly what you wanted so you might have to review it,
it merges records with the same values while keeping the earliest first
seen at date with the oldest last seen at date.
@Divide-By-0
Copy link
Member

Divide-By-0 commented Nov 2, 2024

const existing = valueMap.get(record.value)!; is wrong -- there may be multiple records. I'd prefer a script that goes through the DB and merges.

@Divide-By-0
Copy link
Member

Bump @hhuntaa, did you test this with a local copy of the database and how it performed? I'm worried that it didn't act correctly

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.

Merge connected reverse engineered keys timelines
2 participants