datahub icon indicating copy to clipboard operation
datahub copied to clipboard

[bug] There is max_retries option for Tableau ingestion but it won't work

Open YuriyGavrilov opened this issue 2 months ago • 0 comments

Describe the bug In the docs:

max_retries integer Number of retries for failed requests. Default: 3

In fact:

configured successfully. DataHubRestEmitter: configured '
           'to talk to http://datahub-gms-datahub-gms:8080 with token: eyJh**********_1YA\n'
           'Failed to configure the source (tableau): 1 validation error for TableauConfig\n'
           'max_retries\n'
           '  extra fields not permitted (type=value_error.extra)\n',
           "2024-06-21 08:59:32.429377 [exec_id=9debef30-5ba0-4a53-911c-a111147fe483] INFO: Failed to execute 'datahub ingest'",

Tried this way:

source:
    type: tableau
    config:
        ingest_owner: false
        platform_instance: tableau_prod
        connect_uri: 'https://tableau.XX.XX'
        ingest_tables_external: false
        ingest_tags: false
        page_size: 2
        max_retries: 7
        workbook_page_size: 1
        stateful_ingestion:
            enabled: true
            remove_stale_metadata: true

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

options to configure retries

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. ]

Additional context

Datahub version 0.12

YuriyGavrilov avatar Jun 21 '24 09:06 YuriyGavrilov