It says create just sources and ignore the rest but it fails because of
All catalogs/schema in Databricks should be dropped and let dbt_artifacts to create its schema which out dependency to any other schema/catalog.
Expected behaviour
It should just build sources model and not the other models like dbt_artifacts.invocations or dbt_artifacts.seeds
If not then it should not fail because of dbt_artifacts.invocations
Screenshots
Environment
Results of running dbt --version:
# Add the results here
# dbt Cloud
Please paste the contents of your packages.yml file here:
Overview
I found out it is possible to use run artifacts to get the used tables in source yaml file. But I got an error in creating the model.
How to reproduce
I want to get the list of used tables which are defined in
_stg_sources.yml
file. Therefore, I call the job like this:dbt run --select dbt_artifacts
which is defined like this in dbt_project.yaml:
It says create just sources and ignore the rest but it fails because of![image](https://github.com/brooklyn-data/dbt_artifacts/assets/15875038/02c890f4-7ad1-4c11-a18b-bbbbb2665a7b)
All catalogs/schema in Databricks should be dropped and let
dbt_artifacts
to create its schema which out dependency to any other schema/catalog.Expected behaviour
It should just build
sources
model and not the other models likedbt_artifacts.invocations
ordbt_artifacts.seeds
If not then it should not fail because ofdbt_artifacts.invocations
Screenshots
Environment
Results of running
dbt --version
:Please paste the contents of your
packages.yml
file here: