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

Manage connections #1

Merged
merged 3 commits into from
Nov 16, 2020
Merged

Manage connections #1

merged 3 commits into from
Nov 16, 2020

Conversation

dbeatty10
Copy link
Owner

Overview

This is the minimal configuration that allows the following project to be built and tested:
dbt init dbt-init-test --adapter mysql

Testing

Manually tested via the following:

dbt run
dbt test

Gotchas

  1. MySQL only has 2 levels (catalog/database/schema + relation) rather than the 3 levels (catalog + schema + relation) that most have. I think that Spark and/or Snowflake might be similar.
  2. MySQL doesn't allow quoted identifiers with double-quotes
    • Need to set quoting parameters to false
  3. pyodbc doesn't allow multiple statements (and doesn't allow begin/end outside of functions)
    • Need to execute each statement separately

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.

2 participants