Datahub CLI not ingesting any metadata while using...
# integrate-tableau-datahub
r
Datahub CLI not ingesting any metadata while using the latest/stable version PFB output and configurations.
Copy code
source:
  type: tableau
  config:
    connect_uri: <https://tableautest.mysite.com>
    site: ""
    env: "Test"
    #projects: ["default"]
    token_name: abcd
    token_value: 678ufshbhf98usdbhfuisdh
    ingest_tags: True
    ingest_owner: True
    default_schema_map:
      mydatabase: public
      anotherdatabase: anotherschema
sink:
  type: "datahub-rest"
  config:
    server: "<http://ip:8080>"


Output
Source (tableau) report:
{'cli_entry_location': '/datahub/dhub_v08_26/lib64/python3.6/site-packages/datahub/__init__.py',
 'cli_version': '0.8.31.6',
 'failures': {},
 'os_details': 'Linux-3.10.0-1160.el7.x86_64-x86_64-with-redhat-7.9-Maipo',
 'py_exec_path': '/datahub/dhub_v08_26/bin/python3',
 'py_version': '3.6.8 (default, Aug 13 2020, 07:46:32) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]',
 'warnings': {},
 'workunit_ids': [],
 'workunits_produced': 0}
Sink (datahub-rest) report:
{'downstream_end_time': None,
 'downstream_start_time': None,
 'downstream_total_latency_in_seconds': None,
 'failures': [],
 'gms_version': 'v0.8.31',
 'records_written': 0,
 'warnings': []}
Pipeline finished successfully
c
I'm not sure if site can be empty.
b
Have you ever tried this?
Copy code
projects: []
plus1 1
l
@hundreds-photographer-13496 ^
m
@rich-policeman-92383 you can use
project: null
plus1 1
that works for me
h
@rich-policeman-92383 tableau source uses filter `projects: ["default"]`as default config. It seems that the there are no workbooks in your default project, hence no data ingested. Consider adding projectName that contain workbooks to
projects
config or setting
projects
to
null
or
[]
to ingest metadata from all projects.