You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Summary
Add Enterprise Catalog related tests and adjustments.
### Description
- Added test profiles with Enterprise Catalog as storage option and
respective tests → `TestProfileTemplate` and `TestProfileValidation`
- Added test to confirm that twin strategy is **not** applied when
Enterprise Catalog is used → `TestTwinStrategyNotAppliedDremio`
- Updated expected failures
### Test Results
All tests are passing/failing as expected
### Changelog
- [x] Added a summary of what this PR accomplishes to CHANGELOG.md
### Related Issue
#298
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
-[#299](https://github.com/dremio/dbt-dremio/pull/299) Enhance persist_docs macro to wrap model and column metadata (including descriptions, tags and tests) into a Markdown wiki for Dremio.
# For enterprise catalog: object_storage_source == dremio_space AND object_storage_path == dremio_space_folder
275
+
# This maps to: target.datalake == target.database AND target.root_path == target.schema
276
+
enterprise_catalog_name=DREMIO_ENTERPRISE_CATALOG
277
+
target["schema"] =unique_schema
278
+
target["root_path"] =unique_schema# Make object_storage_path == dremio_space_folder
279
+
target["datalake"] =enterprise_catalog_name# Set object_storage_source to enterprise catalog
280
+
target["database"] =enterprise_catalog_name# Set dremio_space to same enterprise catalog
281
+
282
+
profile["test"]["outputs"]["default"] =target
283
+
ifprofiles_config_update:
284
+
profile.update(profiles_config_update)
285
+
returnprofile
286
+
287
+
@pytest.mark.skipif(DREMIO_EDITION=="community"ornotDREMIO_ENTERPRISE_CATALOG, reason="Enterprise catalog is only supported in Dremio EE/DC editions.")
0 commit comments