-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add a view for Proxy TON addresses #8522
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
Conversation
Workflow run id 16465389274 approved. |
Workflow run id 16465388904 approved. |
Workflow run id 16465388895 approved. |
c9deb04
to
027641a
Compare
Workflow run id 16466556063 approved. |
Workflow run id 16466556030 approved. |
Workflow run id 16466556333 approved. |
Data quality checks: No new entries in select count(1) from (
select token_address, timestamp, asset_type, substring(cast(price_ton as varchar), 1, 10) from test_schema.git_dunesql_f37042e_ton_jetton_price_daily
except
select token_address, timestamp, asset_type, substring(cast(price_ton as varchar), 1, 10) from ton.prices_daily
) t Missing from old select token_address, count(1) from (
select token_address, timestamp, asset_type, substring(cast(price_ton as varchar), 1, 10) from ton.prices_daily
except
select token_address, timestamp, asset_type, substring(cast(price_ton as varchar), 1, 10) from test_schema.git_dunesql_f37042e_ton_jetton_price_daily
) t
group by 1 only two proxy ton addresses:
select blockchain, block_date,
td_orig.net_transfer_amount_usd as amount_orig,
td_fix.net_transfer_amount_usd as amount_fix
from tokens_ton.net_transfers_daily td_orig
full outer join
test_schema.git_dunesql_f37042e_tokens_ton_net_transfers_daily td_fix using(blockchain, block_date)
where td_orig.net_transfer_amount_usd is null or td_fix.net_transfer_amount_usd is null
or abs(td_orig.net_transfer_amount_usd - td_fix.net_transfer_amount_usd) / (td_orig.net_transfer_amount_usd + td_fix.net_transfer_amount_usd) > 0.01
select blockchain, block_date,contract_address,
td_orig.net_transfer_amount_usd as amount_orig,
td_fix.net_transfer_amount_usd as amount_fix
from tokens_ton.net_transfers_daily_asset td_orig
full outer join
test_schema.git_dunesql_f37042e_tokens_ton_net_transfers_daily_asset td_fix using(blockchain, block_date, contract_address)
where td_orig.net_transfer_amount_usd is null or td_fix.net_transfer_amount_usd is null
or abs(td_orig.net_transfer_amount_usd - td_fix.net_transfer_amount_usd) / (td_orig.net_transfer_amount_usd + td_fix.net_transfer_amount_usd) > 0.01 there are some discrepancies but after manual check it is legit:
I assume the reason of the difference is that the corresponding partitions of |
Workflow run id 16470372909 approved. |
Thank you for contributing to Spellbook 🪄
Please open the PR in draft and mark as ready when you want to request a review.
Description:
[...]
quick links for more information: