Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on different lifecycles #31

Open
4 tasks
chaimt opened this issue Nov 9, 2021 · 3 comments
Open
4 tasks

Warning on different lifecycles #31

chaimt opened this issue Nov 9, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@chaimt
Copy link
Contributor

chaimt commented Nov 9, 2021

Describe the bug

when running dbt seed, dbt run you get a warning on sources missing
they are missing since they have not yet been created.
check should be only on dbt test

Steps to reproduce

delete db
run dbt seed

Expected results

no warnings

Actual results

[WARNING]: Test 'test.dbt_poc.dbt_datamocktool_unit_test_stg_loyalty_merchants_enrichment_ref_stg_swell_yotpo_platform_accounts___ref_stg_swell_merchants___ref_stg_swell_vip_tiers_settings___Example_of_unit_test__ref_dmt_expected_dim_opportunity___ref_dmt_loyalty_stg_swell_yotpo_platform_accounts___ref_dmt_loyalty_stg_swell_merchants___ref_dmt_loyalty_stg_swell_vip_tiers_settings___stg_loyalty_merchants_enrichment.5891bd3b17' (models/staging/loyalty/stg_loyalty_merchants_enrichment.yml) depends on a source named 'default.stg_swell_vip_tiers_settings' which was not found

Screenshots and log output

System information

The contents of your packages.yml file:

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • [ x] other (specify: databricks__________)

The output of dbt --version:

0.21
@chaimt chaimt added the bug Something isn't working label Nov 9, 2021
@mjirv
Copy link
Owner

mjirv commented Nov 15, 2021

@chaimt thanks for raising this. Is 'default.stg_swell_vip_tiers_settings'" a source or a ref (model/seed)?

@chaimt
Copy link
Contributor Author

chaimt commented Nov 15, 2021

ref
how does the lifecycle work?

@mjirv
Copy link
Owner

mjirv commented Nov 17, 2021

Interesting, the fact that the error message says "depends on a source" instead of "depends on a ref" is suspicious.

I couldn't replicate it, so I wonder if something weird is going on with the other databricks/spark change I made recently. Looking into it.

@mjirv mjirv self-assigned this Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants