-
Notifications
You must be signed in to change notification settings - Fork 6
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
Count delegate txn in NEAR DAU #248
Conversation
fe8b7a8
to
7aec675
Compare
3aaa5fb
to
3c09863
Compare
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.
LGTM
truncated_near_fact_txns as ( | ||
select * | ||
from near_flipside.core.fact_transactions | ||
where block_timestamp > current_date() - interval '15 days' |
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.
Do you want to run this just for the last 15 days tonight?
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.
Yeah, just for 15d for now
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.
Updated to last 60d
case when is_delegate = TRUE then tx_signer else tx_receiver end as adjusted_receiver, | ||
from | ||
fact_transactions_delegate_extracted | ||
order by date DESC |
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.
might speed up a little if you remove order by date desc
📌 References
🎄 Asset Checklist
databases.csv
or already exists🧮 Metric Checklist
fact
tables if necessaryez_asset_metrics.sql
tableCompiles
in GithubShow Changed Models
in Github matches expectations for what metric value should be