NatLabRockies / NatLabRockies/COMPASS

Merging database

Open
#211 2 comments 0 reactions 1 assignee View on GitHub

@castelao is already working on this.

Since Aug 4, 2025.

p-high topic-rust-cli topic-rust-duckdb
Dominant language
Python
Stars
17
Forks
4
Avg merge
2d 7h
Merged PRs (30d)
17

Description

How should we handle merging local changes to the database with upstream changes? Consider this scenario:

  1. User downloads remote database.
  2. User adds data locally from scrape.
  3. Remote database also gets data added.
  4. How can the user get updated data from the remote without deleting local data?

I think the simplest approach is just to add new rows from the remote to the user's local database, but is there an "easy" way to tell which rows are new?

Either way, this should be it's own command in the rust db CLI

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.