elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Row_count metric not being collected when bumping dbt version to 1.8

Open guillesd opened this issue 1 year ago • 0 comments

Describe the bug The row_count metric stopped being collected when we bumped our dbt version to 1.8 (previously on 1.7). Also, elementary does not inform that this is happening. I had to check in the test_result_rows table to find that there are no entries from the day of the bumping onwards.

To Reproduce

  1. Run dbt 1.8
  2. Specify a elementary.volume_anomalies check based on a timestamp column
  3. Specify seasonality day_of_week
  4. Test results log as 98 failures for some weird reason, metrics are not present in the test_result_rows table

Expected behavior I expect the behavior of elementary to be the same across dbt versions. So my volume_anomalies check should continue as normal.

Environment (please complete the following information):

  • Elementary CLI (edr) version: 0.13.0
  • Elementary dbt package version: 0.13.0
  • dbt version 1.8.6
  • Data warehouse: BigQuery
  • We are running the elementary jobs in Cloud Run, using python:3.12.4-slim-bullseye image

Would you be willing to contribute a fix for this issue? I am happy to contribute but I have no clue what may be wrong!

guillesd avatar Oct 24 '24 11:10 guillesd