OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Oracle connector bug with cases

Open brown3007 opened this issue 1 year ago • 3 comments

Affected module Oracle connector (backend)

Describe the bug When using SQLAlchemy Inspector in Oracle connector we face a problem with case sensitivity/insensitivity If we check Oracle case insensitive table/schema/column names, they all will be uppercase SQLAlchemy sees all them lowercased

To Reproduce

The bug we found: In Oracle we have two tables with same name except for case (Oracle allows us to do so): orcl3 orcl4

But if we see them in OpenMetadata: orcl2 orcl1

They have completely similar structure and (probably) changed casing.

Expected behavior We expect table/column/schema names to be shown as they are in source system (Oracle).

Version:

  • OS: Ubuntu Linux/Kubernetes
  • Python version: 3.9
  • OpenMetadata version: 1.3.2-1.4.8

Additional context The problem was described here: https://github.com/open-metadata/OpenMetadata/issues/15471#issuecomment-2321095946

brown3007 avatar Sep 11 '24 06:09 brown3007

i have same problem

AlexeySmirnov74 avatar Sep 11 '24 16:09 AlexeySmirnov74

I have found bugs which I think related to the problems with case sensetivity:

  1. problems with displaying lineages of the tables and views with the same names (issue #17971)
  2. problems with links to the tables of the foreign keys Ex. we have a table 'A' which has a key to the table 'B'. When I trying to go to the table 'B' by clicking on the link on the frame 'Table Constraints' I get an error "table instance for ... not found". I realized that this is due to the fact that the table name on the frame is in lowercase letters ('b'), while the table itself is in uppercase.

KsM00000 avatar Sep 24 '24 10:09 KsM00000

same problem here~

datapopcorn avatar Oct 11 '24 01:10 datapopcorn