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

Feature request: Merge multiple versions #54

Open
hardiksondagar opened this issue Sep 17, 2021 · 0 comments
Open

Feature request: Merge multiple versions #54

hardiksondagar opened this issue Sep 17, 2021 · 0 comments

Comments

@hardiksondagar
Copy link

The current strategies work well to merge two versions. In some use cases, there is a need to merge multiple versions at the same time to get the final version.

For example, merging a startup's funding amount from different media sources.

version = v_techcrunch
{
    "name": "Coinbase",
    "funding": "$200M"
}

version = v_crunchbase
{
    "name": "Coinbase",
    "funding": "$80M"
}

version = v_angellist
{
    "name": "Coinbase",
    "funding": "$120M"
}

final_version
{
    "name": "Coinbase",
    "funding": "$200M" <--- from v_techcrunch version
}

Here, it needs to be merged based on how recent and accurate data each media sources have. Like TechCrunch will have the latest data of startup's funding compare to Crunchbase and AngelList.

Some ideas of additional merge strategy

  • priorityMerge: merge based on the priority list
  • timebasedMerge: merge based on how recent data is

I am taking inspiration from all contributes of this repo who did great work, to make something similar to that supports the merger of multiple versions.

Cheers

@hardiksondagar hardiksondagar changed the title Feature request - merge by priority Feature request: Merge multiple versions Sep 17, 2021
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

No branches or pull requests

1 participant