OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Test Cases Returning as Asset For Domain when not tagged

Open manuelnelson opened this issue 1 year ago • 1 comments

Affected module Does it impact the UI, backend or Ingestion Framework? UI

Describe the bug A clear and concise description of what the bug is. In the Domains tab, when looking at the Assets, we have almost all of our Test Cases returning for the domain even though they haven't been added to the domain. When viewing the Test Case via the API, it doesn't show the domain, nor when drilling into the test case via the UI. My suspicion is that these test cases have inherited the domain upstream.

To Reproduce

Screenshots or steps to reproduce Add test cases to a table that has the domain applied. Do not apply the domain to the test case. When viewing the domain, notice that the test case appears under the domain.

image (2) image (1) image (3)

A clear and concise description of what you expected to happen. The test cases should not show up under the assets for the domain.

Version:

  • OS: Linux
  • Python version: 3.9
  • OpenMetadata version: [e.g. 0.8] 1.5.7
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ] docker.getcollate.io/openmetadata/ingestion:1.5.7

manuelnelson avatar Oct 29 '24 01:10 manuelnelson

domain is inherited, if a table is tagged with a domain the test cases belonging to the table are going to get the same domain

harshach avatar Dec 12 '24 22:12 harshach