apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.5k stars 4.52k forks source link

[Bug] [Api] DataQuality:cannot get database or columns with Oracle #15834

Closed UncleKKKevin closed 3 months ago

UncleKKKevin commented 3 months ago

Search before asking

What happened

we are using Oracle instead of hive, but when using data quality databases or tables cannot be selected ds报错1 It is obvious that not all databases support 'show databases' ds报错2

What you expected to happen

to use Oracle like hive

How to reproduce

use Oracle datasource and and select databases

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 3 months ago

Search before asking

What happened

we are using Oracle instead of hive, but when using data quality databases or tables cannot be selected ds报错1 It is obvious that not all databases support 'show databases' ds报错2

What you expected to happen

to use Oracle like hive

How to reproduce

use Oracle datasource and and select databases

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

UncleKKKevin commented 3 months ago

我给代码加上了判断dataSource.getType() == DbType.ORACLE时,执行SELECT DISTINCT OWNER FROM ALL_TABLES