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

Change Materialization for Tokens Events #7377

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AIDataMaster
Copy link
Contributor

Thank you for contributing to Spellbook 🪄

Please open the PR in draft and mark as ready when you want to request a review.

Description:

We are facing HTTP error rate limits on Dune when querying markets_data and erc20 models because the tokens models are materialized as views. This causes repetitive API requests for every query. To resolve this, we propose switching from view materialization to table materialization.


quick links for more information:

@github-actions github-actions bot marked this pull request as draft December 24, 2024 15:14
@github-actions github-actions bot added WIP work in progress dbt: daily covers the Daily dbt subproject labels Dec 24, 2024
@AIDataMaster AIDataMaster marked this pull request as ready for review December 24, 2024 15:21
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Dec 24, 2024
@0xRobin 0xRobin self-assigned this Dec 29, 2024
@0xRobin
Copy link
Collaborator

0xRobin commented Dec 29, 2024

@AIDataMaster seems like the queries are very lightweight though and only require 1 http_get call per request, so that should be fine?
Can you share more details on the queries that are failing?

@0xRobin 0xRobin added the question Further information is requested label Dec 29, 2024
@AIDataMaster
Copy link
Contributor Author

@AIDataMaster seems like the queries are very lightweight though and only require 1 http_get call per request, so that should be fine? Can you share more details on the queries that are failing?

https://dune.com/queries/4499052
Error: Your query issued too many HTTP requests [Execution ID: 01JGBN443FXE2MRKGCH2H5ECXA].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbt: daily covers the Daily dbt subproject question Further information is requested ready-for-review this PR development is complete, please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants