-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
needs to use {{this}} format for incremental #3341
Closed
Closed
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
dffb01f
needs to use {{this}} format for incremental
andrewhong5297 bebf854
should always be next day only
andrewhong5297 3945b01
Add uniqueness test
Hosuke 7afffa3
keep block_slot
andrewhong5297 18838b7
Merge branch 'solana_daily_balances_fix' of https://github.com/dunean…
andrewhong5297 555b657
Merge branch 'main' into solana_daily_balances_fix
Hosuke 5ff9b39
test 30
andrewhong5297 710f461
Try to fix the incremental merge checking bug
Hosuke 99c8b33
Merge branch 'main' into solana_daily_balances_fix
Hosuke 0464737
Merge branch 'main' into solana_daily_balances_fix
Hosuke 53e7fed
remove 30 day limit
andrewhong5297 863f146
Merge branch 'main' into solana_daily_balances_fix
jeff-dude f85eaa2
add space
andrewhong5297 9b83a82
Add not_null tests
Hosuke b1870e5
Merge branch 'main' into solana_daily_balances_fix
jeff-dude f0fff46
Merge branch 'main' into solana_daily_balances_fix
Hosuke 7d38cf0
Remove not_null test for latest_balance
Hosuke 28654d7
Merge branch 'main' into solana_daily_balances_fix
Hosuke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
should probably use
>=
here to not drop later incremental updates from the same day?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.
since
day
is derived fromdate_trunc(...)
, it represents the lower bound of the time, I think>
will include all events in that date after UTC 00:00.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.
We don't want to update on same day, only next day. To prevent duplicates.
There is the edge case of missing an address if their balance changes later that day but not the next day.
But ignoring that case 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.
ah @Hosuke you're right! I was confused but indeed because we compare block_time with the day timestamp this works and there's no real difference between
>
and>=
. 👍