Skip to content
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

Hotfix for failing load_traces task due to value not fitting in the NUMERIC data type #757

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

medvedev1088
Copy link
Member

What?

Hotfix for failing load_traces task due to value not fitting in the NUMERIC data type

How?

Change the datatype STRING when loading, use SAFE_CAST() when merging

Example tx with large value: https://etherscan.io/tx/0x00ed8efcf66cc13022770c253de4f15edbf53a07471e3ce49913fae12098d6aa

More transactions with large value:

select *
from bigquery-public-data.crypto_ethereum.traces
where date(block_timestamp) = '2024-07-03'
and value is null

@medvedev1088 medvedev1088 merged commit 0a12c61 into master Jul 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant