Skip to content

'DatabaseServiceProfilerPipeline' object has no attribute 'dbtConfigSource' #5942

Answered by pmbrull
pmbrull asked this question in Q&A
Discussion options

You must be logged in to vote

While the workflow YAML is correct, we need to take into account which CLI command are we using. While the metadata ingestion workflow is executed as metadata ingest, the Profiler workflow needs to be run as metadata profile.

Link to the docs.


Running this via an Airflow DAG (or with any approach related to importing the Workflow class from Python), the difference is in the type of Workflow class being used.

  • To ingest metadata, we need to import from metadata.ingestion.api.workflow import Workflow
  • For the Profiler, the import is from metadata.orm_profiler.api.workflow import ProfilerWorkflow

Replies: 1 comment

Comment options

pmbrull
Jul 7, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by pmbrull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant