Elon Gliksberg
01/05/2023, 9:35 AMpackages.yml in your dbt project.
- package: elementary-data/elementary
version: 0.6.8
Please note that source freshness alerts are not supported for the time being as the upload_source_freshness macro no longer works.
We advise that you remove the invocation of dbt run-operation elementary.upload_source_freshness from your jobs.
We're working on making the source freshness results automatically upload at the on-run-end like the models, tests, seeds, and snapshots runs.
Feel free to reach out in #C02CTC89LAX if you have any questions.
Thanks.manish ramrakhiani
01/05/2023, 9:36 AMdbt run-operation upload_source_freshness ?Elon Gliksberg
01/05/2023, 9:37 AMmanish ramrakhiani
01/05/2023, 9:49 AMElon Gliksberg
01/05/2023, 10:05 AMon-run-end hook to upload data about your run,
such as which models errored, which tests failed, and so on.
However, dbt currently does not run the on-run-end hook upon calling dbt source freshness and therefore we're unable to extract that data.
We opened an issue about it in the past, but given that we had this macro as an alternative, we didn't need to make the contribution to dbt.
We'll most likely contribute the additional functionality that would make the hook run on source freshness as well,
and then the automatic uploading will be supported on that dbt version onwards.
Worth mentioning that we still need to discuss this a bit further so can't say for certain.manish ramrakhiani
01/05/2023, 10:10 AMAndre Mansour
01/05/2023, 5:15 PM