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

Added sample_profiles.yml so that adapter works with new --adapter option of dbt init #98

Merged
merged 4 commits into from
Aug 11, 2020
Merged

Conversation

brunomurino
Copy link
Contributor

resolves #2533

Description

Added option '--adapter' to dbt init, to create sample profiles.yml based on chosen adapter.

It gets the sample profiles.yml from the adapter 'includes' folder

Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

One quick thought, since dbt-spark has two distinct connection methods available:

  • Should there be an additional flag for http versus thrift?
  • Should we default to thrift instead of http, since that's how we connect to the dockerized spark that ships with this repo? Or keep http as the default because we assume that most people are running against hosted spark (i.e. Databricks)?

@brunomurino
Copy link
Contributor Author

Why not both? haha

Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

Nice work on this!

@jtcohen6 jtcohen6 merged commit 2ee3696 into dbt-labs:master Aug 11, 2020
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.

Write database-specific sample profiles.yml file in dbt init
2 participants