Skip to content

Keep tags per dataset schema version but not remove them in the previous versions #10119

Open
@usmanovbf

Description

@usmanovbf

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:

  1. Go to some dataset, e.g. sales
  2. Add some tag, e.g. test on the screenshot image
  3. Update the column in the new version, e.g. change the name to the is_deleted_new_name
  4. See disappeared tag in the next 0.1.0 version as on the screenshot image
  5. But the tag was disappeared in the first version 0.0.0 where it was set previously image
  6. Revert the name of the column to the initial one in the 0.2.0 version. Tag will appear without explicit setting this time.
image 8. But tag is still disappeared in the first version. image

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

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions