datahub icon indicating copy to clipboard operation
datahub copied to clipboard

Wrong database name after Oracle ingestion

Open haeniya opened this issue 2 years ago • 4 comments

Describe the bug When ingesting Oracle datasets with a service name specified in the ingestion recipe, we experience the following issue: image

The database name displayed in the UI is a random container URN. There was already another issue that seems related: https://github.com/datahub-project/datahub/issues/8148. And there's also a discussion in Slack with no recent activity though: https://datahubspace.slack.com/archives/CUMUWQU66/p1652894449976439

Our recipe looks something like this:

source:
  type: oracle
  config:
    host_port: 'example-host.com:1521'
    service_name: example.prod.dbs
    username: '${ORACLE_USER}'
    password: '${ORACLE_PASSWORD}'
    platform_instance: example
    view_pattern:
      allow:
        - '.*EXAMPLE_VIEW.*'
      deny: []
      ignoreCase: true
    schema_pattern:
      allow:
        - 'EXAMPLE_SCHEMA.*'
      deny: []
      ignoreCase: true
    include_tables: false
    env: PROD
sink:
  type: datahub-rest
  config:
    server: '${DATAHUB_GMS_URL}'
    token: '${DATAHUB_GMS_TOKEN}'

To Reproduce Steps to reproduce the behavior:

  1. Ingest Oracle datasets with a recipe like the one above and a service name specified.

Expected behavior Correct service name displayed in the UI.

Additional context We use Datahub version 0.12.0 and the Oracle ingestion CLI in version 0.12.1.0.

haeniya avatar Feb 27 '24 10:02 haeniya

This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io

github-actions[bot] avatar Mar 29 '24 01:03 github-actions[bot]

Still an issue with the same version mentioned above.

haeniya avatar Mar 29 '24 06:03 haeniya

The fix is added to the master branch (and is available in one of the next releases) and not available in the "same version mentioned above" of course.

Nelvin73 avatar Apr 03 '24 12:04 Nelvin73

This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io

github-actions[bot] avatar May 04 '24 01:05 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Jun 03 '24 01:06 github-actions[bot]