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

Introduce fix to archive failed queries on run_sql call #110

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

antonio-mendes
Copy link
Contributor

Hey hey!

I reported it on Slack, but basically I ran into a case where when using the run_sql query call, if the query fails we do not archive it. This resulted in me creating a bunch of broken queries and hitting the "private query limit" on the Dune account.

I've tried to introduce a simple fix here, but not 100% sure if this might be present elsewhere in the code.

🚀 keep up the amazing work

Copy link
Collaborator

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

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

Seems reasonable! Thanks for these proposed changes.

Co-authored-by: Richard Keo <RichardKeo@users.noreply.github.com>
@antonio-mendes antonio-mendes merged commit 3a2c8a8 into main Feb 28, 2024
3 checks passed
@antonio-mendes antonio-mendes deleted the fix_not_archiving_failed_queries branch February 28, 2024 14:33
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.

3 participants