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

Asset Type is incorrect enum in contract_data #298

Open
sydneynotthecity opened this issue Jan 2, 2025 · 0 comments
Open

Asset Type is incorrect enum in contract_data #298

sydneynotthecity opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sydneynotthecity
Copy link
Contributor

While working on data quality tests, I found that assetType has following values in stg_contract_data

  • AssetTypeAssetTypeCreditAlphanum4

Acceptable values are 'credit_alphanum4', 'credit_alphanum12', 'native'

Ref: https://stellarfoundation.slack.com/archives/C071DNLU4JC/p1728081984293059

This ticket requires to fix the code creating these values and backfill the existing data. Note: if we do decide to fix this bug in the raw transformation layer, we will need to coordinate backfills with Nansen and Dune, who use Hubble as their source of record. It may not be ideal to fix in the raw, and might be worth mapping correctly within dbt instead.

@sydneynotthecity sydneynotthecity added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant