MerginMaps / MerginMaps/geodiff
API to check whether two files have the same schema
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 183
- Forks
- 21
- Avg merge
- 9d 11h
- Merged PRs (30d)
- 2
Description
When we need to check if two geopackages have the same structure, right now one needs to use GEODIFF_schema() twice and then compare JSON output - it would be nicer and more efficient if this was encapsulated in a single API call (and without the intermediate JSON output step)
E.g. bool GEODIFF_hasEqualSchema(file1, file2)
It would be useful if we could also report why the schema is not the same - user may have a hard time to understand what's wrong without extra hint like "Table ABC: new column XY"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GEODIFF_schema API and the code that compares its JSON output. Define the proposed equality API's result and how schema differences should be reported, then identify or add coverage for matching schemas and representative differences such as a new column.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100