[Bug] adapter response return incorrect data_scanned_in_bytes
when incremental model is running
#585
Labels
bug
Something isn't working
Is this a new bug in dbt-athena?
Current Behavior
We have defined the incremental model
model1
in DBT. When dbt model population is started two queries are generated into AWS Athena:create a
model1__dbt_tmp
table and populate it with datainsert data from
model1__dbt_tmp
intomodel1
The cost of this incremental should be
data_scanned_in_bytes
from step 1 + step 2 = 3.95 kB + 0.79 kB = 4.48 kBIn #353 there was added new functionality to return
data_scanned_in_bytes
, but for incremental build it will return only step 2 = 810 bytes.run_results.json - part from run_results.json file
Expected Behavior
The cost of this incremental run should be the sum of all involved queries started on AWS Athena.
Steps To Reproduce
No response
Environment
Additional Context
DBT command
DBT model
run_results.json - full file
The text was updated successfully, but these errors were encountered: