Skip to content

feat(sql): add index on path columns (important for comparing ahbs) #116

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

Merged
merged 3 commits into from
Apr 11, 2025

Conversation

hf-kklein
Copy link
Contributor

No description provided.

Konstantin added 3 commits April 11, 2025 08:07
     def do_execute(self, cursor, statement, parameters, context=None):
>       cursor.execute(statement, parameters)
E       sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: ahb_hierarchy_materialized.path, ahb_hierarchy_materialized.pruefidentifikator, ahb_hierarchy_materialized.edifact_format_version
E       [SQL: CREATE UNIQUE INDEX idx_hierarchy_path_per_ahb ON ahb_hierarchy_materialized (path, pruefidentifikator, edifact_format_version)]
E       (Background on this error at: https://sqlalche.me/e/20/gkpj)
@hf-kklein hf-kklein merged commit ab798af into main Apr 11, 2025
18 checks passed
@hf-kklein hf-kklein deleted the more-index branch April 11, 2025 08:30
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.

1 participant