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

Updating coingecko metadata #452

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

SebMelendez01
Copy link
Contributor

When the categories = [] with a coingecko token it is not included in the coingecko metadata table because the CTE does not contain a row for that token (inner join). This causes our metadata table to not contain all the tokens that we extract from coingecko as well as not allow us to tag some tokens to apps in sigma. By using a left join we continue to support tokens that do not have an empty array for the categories.

@SebMelendez01 SebMelendez01 requested a review from a team as a code owner August 29, 2024 17:35
Copy link
Contributor

@akan72 akan72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SebMelendez01 Do you have an estimate on how many coins we were dropping bc they were uncategorized? I imagine it's small and/or comprised of longer tail coins only

@SebMelendez01
Copy link
Contributor Author

the old amount is 12,755 and the new amount is 14,638. The only coin we need that it is currently dropping is cREAL

@SebMelendez01 SebMelendez01 merged commit 1c5a283 into main Aug 29, 2024
3 checks passed
@SebMelendez01 SebMelendez01 deleted the sm-update-coingecko-token-metadata branch August 29, 2024 22:17
SebMelendez01 added a commit that referenced this pull request Sep 9, 2024
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.

2 participants