You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Importer] Allow to reference importing rows #8203
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
When importing a dataset it is not possible to reference other rows from the current dataset. This is required to import a deeply nested category tree, location tree, ... (ref: #8166 (comment))
Suggested solution
Allow to select an extra column for the primary key of the dataset lines. Then this column can be used to lookup rows when other rows reference e.g. *1 (where the * means look for a row in the current dataset with this id.).
What column are you referring too? You mean the index of the entry in the csv file? I would argument that this is not a great idea, as then we rely on the order of the lines in the csv table. And the order may change if people manually modify the file.
Activity
SchrodingersGat commentedon Sep 27, 2024
We already have a unique "row" number (within the dataset) - we could use this, perhaps?
wolflu05 commentedon Sep 27, 2024
What column are you referring too? You mean the index of the entry in the csv file? I would argument that this is not a great idea, as then we rely on the order of the lines in the csv table. And the order may change if people manually modify the file.
SchrodingersGat commentedon Sep 27, 2024
Fair point!
github-actions commentedon Nov 27, 2024
This issue seems stale. Please react to show this is still important.
SchrodingersGat commentedon Nov 27, 2024
Not stale