dbt_artifacts icon indicating copy to clipboard operation
dbt_artifacts copied to clipboard

[Bug]: ROWS_AFFECTED column in table FCT_DBT__MODEL_EXECUTIONS shows always 1

Open sushildjoshi opened this issue 2 years ago • 2 comments

I added dbt_artifacts in my project and then run one model.

after this when I query this table for specific model run I can see rows_affected is always showing as 1 and not actual number of rows loaded as part of run.

as part of my run, there are 100 records loaded in my table so I am expecting same 100 value should show in column rows_affected present in table FCT_DBT__MODEL_EXECUTIONS .

please help to fix this as this will be big saver to quickly see how many records got loaded as part my latest model execution.

Thanks a lot in advance for all your help !

sushildjoshi avatar Nov 24 '23 12:11 sushildjoshi

Hi @sushildjoshi are you able to provide any more context on this error:

  • Version of dbt artifacts
  • Version of dbt
  • The database you're using
  • The type of materialisation you're using for the table
  • any more info you can provide to help us look into this for you

jared-rimmer avatar Jan 25 '24 11:01 jared-rimmer