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

chore: inherit BaseSQLQueryRunner in Snowflake query runner #6064

Conversation

drewmcmahon
Copy link
Contributor

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • New Query Runner (Data Source)
  • New Alert Destination
  • Other

Description

Modify Snowflake query runner to inherit BaseSQLQueryRunner instead of BaseQueryRunner. Primary intention was to add auto-limit query support, but rather than add those methods to the Snowflake query runner, I think we can refactor it to inherit from BaseSQLQueryRunner and get it for free.

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually
  • N/A

Added snowflake connection, ran queries and created dashboards successfully.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@Avey777

This comment was marked as outdated.

@guidopetri
Copy link
Contributor

@drewmcmahon thanks for your contribution! Would you mind rebasing your branch on master and re-pushing to rerun CI checks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants