File tree Expand file tree Collapse file tree 4 files changed +29
-7
lines changed
docs/integrations/engines
tests/core/engine_adapter/integration Expand file tree Collapse file tree 4 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -303,14 +303,13 @@ workflows:
303303 - redshift
304304 - bigquery
305305 - clickhouse-cloud
306- - athena
307- # todo: enable fabric when cicd catalog create/drop implemented in manage-test-db.sh
308- # - fabric
306+ - athena
307+ - fabric
309308 - gcp-postgres
310- filters :
311- branches :
312- only :
313- - main
309+ # filters:
310+ # branches:
311+ # only:
312+ # - main
314313 - ui_style
315314 - ui_test
316315 - vscode_test
Original file line number Diff line number Diff line change @@ -133,7 +133,26 @@ gcp-postgres_down() {
133133 gcp-postgres_exec " drop database $1 "
134134}
135135
136+ # Fabric
137+ fabric_init () {
138+ python --version # note: as at 2025-08-20, ms-fabric-cli is pinned to Python >= 3.10, <3.13
139+ pip install ms-fabric-cli
140+
141+ # to prevent the '[EncryptionFailed] An error occurred with the encrypted cache.' error
142+ # ref: https://microsoft.github.io/fabric-cli/#switch-to-interactive-mode-optional
143+ fab config set encryption_fallback_enabled true
136144
145+ echo " Logging in to Fabric"
146+ fab auth login -u $FABRIC_CLIENT_ID -p $FABRIC_CLIENT_SECRET --tenant $FABRIC_TENANT_ID
147+ }
148+
149+ fabric_up () {
150+ fab create " SQLMesh CircleCI.Workspace/$1 .Warehouse"
151+ }
152+
153+ fabric_down () {
154+ fab rm -f " SQLMesh CircleCI.Workspace/$1 .Warehouse" || true
155+ }
137156
138157INIT_FUNC=" ${ENGINE} _init"
139158UP_FUNC=" ${ENGINE} _up"
Original file line number Diff line number Diff line change 11# Fabric
22
3+ !!! info
4+ The Fabric engine adapter is a community contribution. Due to this, only limited community support is available.
5+
36## Local/Built-in Scheduler
47** Engine Adapter Type** : ` fabric `
58
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ gateways:
198198 workspace_id : {{ env_var("FABRIC_WORKSPACE_ID") }}
199199 odbc_properties :
200200 Authentication : ActiveDirectoryServicePrincipal
201+ check_import : false
201202 state_connection :
202203 type : duckdb
203204
You can’t perform that action at this time.
0 commit comments