-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Join on environment #9
Conversation
…ccounting failed because of the environments having the same auction id but different data. This is fixed for the fct_data_per_trade. also the test has been modified to allow for rounding errors
dbt_models/models/intermediary/backend_data/int_backend_data__trade_data_unprocessed.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/intermediary/backend_data/int_backend_data__trade_data_unprocessed.sql
Show resolved
Hide resolved
dbt_models/models/intermediary/dune_data/int_dune_data__actual_valid_vouches.sql
Show resolved
Hide resolved
dbt_models/models/intermediary/dune_data/int_dune_data__valid_unvouches.sql
Show resolved
Hide resolved
dbt_models/models/staging/backend_data/stg_backend_data_barn__app_data.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/backend_data/stg_backend_data_barn__order_execution.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/backend_data/stg_backend_data_prod__auction_prices.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/dune_data/stg_dune_data__block_timestamp.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/dune_data/stg_dune_data__cow_protocol_ethereum_batches.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/dune_data/stg_dune_data__cow_protocol_ethereum_batches.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/dune_data/stg_dune_data__dune_data__service_fee_tracker.sql
Outdated
Show resolved
Hide resolved
dbt_models/models/staging/dune_data/stg_dune_data__excluded_batches.sql
Outdated
Show resolved
Hide resolved
@@ -9,8 +9,8 @@ source as ( | |||
slippage_type, | |||
slippage_usd, | |||
replace(NULLIF(replace(replace(slippage_wei::text, '"', ''), '\', ''), 'null'), '', '')::NUMERIC AS slippage_native, | |||
concat('0x', encode(token_address::bytea, 'hex')) as token_address, | |||
concat('0x', encode(tx_hash::bytea, 'hex')) as tx_hash | |||
concat('0x', encode(token_address::bytea, 'hex'))::bytea as token_address, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
dbt_models/models/staging/dune_data/stg_dune_data__raw_slippage.sql
Outdated
Show resolved
Hide resolved
@@ -4,21 +4,21 @@ old_order_data as ( | |||
select | |||
auction_id as auction_id_old, | |||
block_number as block_number_old, | |||
concat('0x', encode(order_uid::bytea, 'hex')) as order_uid_old, | |||
concat('0x', encode(order_uid::bytea, 'hex'))::bytea as order_uid_old, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as bove, and there are multiple instances of this in this query
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ferrau10 There seems to be some issues here. Just noticed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The query in assert_if_dbt_order_data_is_correct.sql
still needs fixing
No description provided.