-
Notifications
You must be signed in to change notification settings - Fork 13
AN-5424/Gold Defi -> Tables #461
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
base: main
Are you sure you want to change the base?
Conversation
SELECT | ||
MIN(DATE_TRUNC('day', block_timestamp)) AS block_timestamp_day | ||
FROM | ||
{{ ref('fact_bridge_activity') }} |
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.
consider adding a check on price updates to find the earliest block timestamp or hour from prices
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.
wdym?
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.
this was related that whole conversation we had about - how much autohealing we want to do with when prices are backfilled. Could do a UNION ALL with the min(hour) from ez prices where the mod ts > the current mod ts to get the earliest block timestamp we want to rerun. (Also maybe put the hard limit on 7 days or something like that from prices)
No description provided.