OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Oracle lineage issues with tables and views of the same name

Open KsM00000 opened this issue 2 years ago • 4 comments

Affected module UI

Describe the bug We have views and tables with the same names. Recently I realised that our view 'a_link' displays wrong lineage becuase it displays lineage of the deleted table 'A_LINK'.

I have reached out to the community on Slack and after some troubleshooting I was told to open a ticket here.

To Reproduce

example

After I hard deleted the table, view started to display correct lineage.

fix

Expected behavior We expect tables to show the correct lineage.

Version:

  • OS: Ubuntu
  • Python version: 3.9
  • OpenMetadata version: 1.5.4

Additional context I think the bug is related to the issue #17796

KsM00000 avatar Sep 24 '24 10:09 KsM00000

I have fixed the issue where tables and views with the same name but different case were not being treated as separate entities in this PR: https://github.com/open-metadata/OpenMetadata/pull/26107

Now, tables and views with identical names but different casing are handled as distinct entities.

However, lineage generation between such tables and views (where the names are the same but only differ by case) still needs to be handled separately at the lineage parser level.

@mohittilala will take this up and address it on the lineage parser side. CC: @ulixius9

keshavmohta09 avatar Feb 26 '26 08:02 keshavmohta09

Keeping this open till the lineage issue is resolved for same name views.

mohittilala avatar Feb 26 '26 08:02 mohittilala

@mohittilala what is the update here?

harshach avatar May 17 '26 16:05 harshach

Closing: the fix for this shipped to main in #26107.

If you can still reproduce this on a build that contains those changes, please reopen with the version you're on.

TeddyCr avatar Aug 26 '26 20:08 TeddyCr