Skip to content

Commit

Permalink
add details to debug dbt-synapse adapter, see microsoft/dbt-synapse#218
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurcht committed Mar 15, 2024
1 parent 29464b8 commit eaa45a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install -r requirements.txt

- Setup `profiles.yml` to connect to data warehouse
- DO NOT VERSION CONTROL SENSITIVE INFO! see [`profiles.yml` best practices](https://docs.getdbt.com/docs/core/connect-data-platform/connection-profiles)
- if not using Postgres, see [setup instructions](https://docs.getdbt.com/docs/core/connect-data-platform/postgres-setup) for other data warehouses
- if not using Postgres, see [setup instructions](https://docs.getdbt.com/docs/core/connect-data-platform/postgres-setup) for other data warehouses (e.g. for [Microsoft Azure Synapse](https://docs.getdbt.com/docs/core/connect-data-platform/azuresynapse-setup))

- (optional) Run `dbt debug`, expect final message `All checks passed!`
- ref: (dbt-labs/jaffle-shop)[https://github.com/dbt-labs/jaffle-shop/tree/main] project, project skeleton from results of "initialize project" in dbt Cloud
Expand Down
15 changes: 8 additions & 7 deletions profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ default:
target: dev
outputs:
dev:
type: postgres
host: (DO NOT VERSION CONTROL SENSITIVE INFO!)
user: (DO NOT VERSION CONTROL SENSITIVE INFO!)
password: (DO NOT VERSION CONTROL SENSITIVE INFO!)
port: 5432
dbname: (DO NOT VERSION CONTROL SENSITIVE INFO!)
type: synapse
driver: 'ODBC Driver 18 for SQL Server'
server: (DO NOT VERSION CONTROL SENSITIVE INFO!) # (Dedicated SQL endpoint of your workspace here)
port: 1433
database: (DO NOT VERSION CONTROL SENSITIVE INFO!)
authentication: sql
schema: (DO NOT VERSION CONTROL SENSITIVE INFO!)
threads: 4
user: sqladminuser
password: (DO NOT VERSION CONTROL SENSITIVE INFO!)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dbt-core
dbt-postgres # replace based on your data warehouse
dbt-synapse @ git+https://github.com/microsoft/dbt-synapse@d26c475fb8101b62f456f40f20cd0235e3604aed # replace based on your data warehouse

0 comments on commit eaa45a7

Please sign in to comment.