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

API to check whether two files have the same schema #164

Open
wonder-sk opened this issue Mar 22, 2022 · 0 comments
Open

API to check whether two files have the same schema #164

wonder-sk opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@wonder-sk
Copy link
Contributor

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants