Comments (3)
@prestonh0 to what platform are you trying to use with dbt?
Microsoft Fabric straight up does not support SQL Auth, however "classic" Synapse (this repo), does.
Platform | dbt adapter | hostname like |
---|---|---|
Azure Synapse Analytics Dedicated SQL Pools | dbt-synapse (this repo) |
<INSTANCE>.sql.azuresynapse.net,1433 |
Microsoft Fabric Synapse Datawarehouse | dbt-fabric (different rep) |
<LONG_GUID>.datawarehouse.pbidedicated.windows.net |
from dbt-synapse.
profiles.yml
project_dbt:
target: dev
outputs:
dev:
type: synapse
driver: 'ODBC Driver 18 for SQL Server'
host: myhostname.sql.azuresynapse.net
port: 1433
database: mydatabase
schema: dbo
authentication: sql
user: adminuser
password: 'adminpass'
Using Synapse classic sql dedicated pools, with dbt debug --log-level debug I get this:
15:23:02 Registered adapter: synapse=1.7.1
15:23:02 Acquiring new synapse connection 'debug'
15:23:02 Using synapse connection "debug"
15:23:02 On debug: select 1 as id
15:23:02 Opening a new connection, currently in state init
15:23:02 fabric adapter: Using connection string: DRIVER={ODBC Driver 18 for SQL Server};SERVER=myhostname.sql.azuresynapse.net,1433;Database=mydatabase;UID={adminuser};PWD=***;encrypt=No;TrustServerCertificate=No;APP=dbt-synapse/1.7.4;ConnectRetryCount=1
15:23:02 fabric adapter: Error running SQL: select 1 as id
15:23:02 fabric adapter: Rolling back transaction.
15:23:02 On debug: No close available on handle
15:23:02 Connection test: [ERROR]
15:23:02 1 check failed:
15:23:02 dbt was unable to connect to the specified database.
The database returned the following error:
Database Error
('01S00', '[01S00] [Microsoft][ODBC Driver Manager] Invalid connection string attribute (0) (SQLDriverConnect)')
from dbt-synapse.
FYI I got this working. My password had } in it, replaced with }} and it worked.
from dbt-synapse.
Related Issues (20)
- Changing the distribution and index types in existing snapshots don't have any effect HOT 1
- upgrade to support dbt-core v1.4.0 HOT 2
- Stand up new CI-testing pool HOT 1
- upgrade to support dbt-core v1.5.0
- This repo is missing important files
- upgrade to support dbt-core v1.6.0
- Incremental table creation has unneccessary indexes, write temp table as a HEAP HOT 1
- Satellite problem when using case sensitive collations HOT 1
- upgrade to support dbt-core v1.7.0
- Unable to authenticate to a synapse intance with a dedicated pool HOT 7
- Version of adapter is not visible for `dbt --version` command HOT 2
- upgrade to support dbt-core v1.8.0
- `get_limit_subquery()` does not work with queries containing CTEs HOT 1
- Set `database=False` in `SynapseRelation.include_policy` instead of overriding `ref` macro HOT 3
- dbt-synapse `1.8.0rc1` broken by dbt-fabric `1.8.3` HOT 3
- `'tmp_relation' is undefined` when altering a column's datatype on an incremental model HOT 1
- Docker image for dbt-synapse HOT 1
- SQLAuth does not work in 1.8 HOT 1
- dbt-utils generate_surrogate_key macro fails for versions 1.4+ when only one field is supplied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-synapse.