Open
Description
Describe the bug
A tag disappears in the previous version if the dataset schema is updated. And it appears suddenly in the next version for the reverted columns.
To Reproduce
Steps to reproduce the behavior:
- Go to some dataset, e.g.
sales
- Add some tag, e.g. test on the screenshot
- Update the column in the new version, e.g. change the name to the
is_deleted_new_name
- See disappeared tag in the next 0.1.0 version as on the screenshot
- But the tag was disappeared in the first version 0.0.0 where it was set previously
- Revert the name of the column to the initial one in the 0.2.0 version. Tag will appear without explicit setting this time.


Expected behavior
Tags should be kept per dataset schema version (since tag setting was made working in the specific version of a dataset), but not removed in the previous versions. So, in this example, tag test
should be present in the 0.0.0 version definitely. Probably it should be in the 0.2.0 version since it was reverted, but I doubt about it since then in the 0.2.0 it belongs to the new version of the dataset schema.
Screenshots
Attached to the
Desktop (please complete the following information):
- OS: MacOS Sonoma 14.3
- Browser: Chrome 122.0.6261.129
- Version: Datahub 0.13.0