elementary-data / elementary

The dbt-native data observability solution for data & analytics engineers. Monitor your data pipelines in minutes. Available as self-hosted or cloud service with premium features.
https://www.elementary-data.com/
Apache License 2.0
1.94k stars 165 forks source link

Row_count metric not being collected when bumping dbt version to 1.8 #1730

Open guillesd opened 4 weeks ago

guillesd commented 4 weeks ago

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):

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!