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

Refactoring the Adapter to prepare for metadata behavior flag #894

Closed
wants to merge 1 commit into from

Conversation

benc-db
Copy link
Collaborator

@benc-db benc-db commented Jan 6, 2025

Description

We've been having many performance issues with information_schema recently. This PR refactors the current behavior to a behavior module so that I can select between existing behavior and new behavior with a flag. Since this is a sizeable refactor, there are no behavior changes in this PR. The goal is just to exactly replicate the current behavior, but behind a new class so that I can select new behavior based on flag in the next PR. All tests have been minimally updated to pass; they are not good tests, but this behavior will eventually be replaced by the new behavior(s), so I don't feel like rewriting these old tests.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

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.

1 participant