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

Index (dimension) name clashes - how to handle? #241

Open
soininen opened this issue Apr 18, 2023 · 1 comment
Open

Index (dimension) name clashes - how to handle? #241

soininen opened this issue Apr 18, 2023 · 1 comment

Comments

@soininen
Copy link
Collaborator

Currently, it is possible to have clashing index names in indexed values, e.g. all nested Map indices are called 'x' by default. Also, it is possible to name the indices as 'parameter', 'entity_class', 'alternative' etc. potentially clashing with "implicit" index names. It is starting to be a bit of a problem already when plotting data in Toolbox (see spine-tools/Spine-Toolbox#2057).

I am not sure if there is much we can do about it with the current design, but maybe this is something we can set straight with the upcoming new database structure with its Dimensions. Any ideas?

@jkiviluo
Copy link
Member

Dimensions should handle this. Dimension table will have unique name constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants