Skip to content

Commit 0415db5

Browse files
fix: resolve Dremio edr monitor duplicate keys + exclude ephemeral model tests
- Fix elementary profile: use enterprise_catalog_folder instead of schema for Dremio to avoid 'Got duplicate keys: (dremio_space_folder) all map to schema' - Exclude ephemeral_model tag from dbt test for Dremio (upstream dbt-dremio CTE limitation with __dbt__cte__ references) Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 149f7b8 commit 0415db5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-warehouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ jobs:
405405
# Dremio needs single-threaded execution to avoid Nessie catalog race conditions
406406
EXTRA_ARGS=""
407407
if [ "${{ inputs.warehouse-type }}" = "dremio" ]; then
408-
EXTRA_ARGS="--threads 1"
408+
EXTRA_ARGS="--threads 1 --exclude tag:ephemeral_model"
409409
fi
410410
dbt test --target "${{ inputs.warehouse-type }}" $EXTRA_ARGS
411411

tests/profiles/profiles.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ elementary:
124124
{%- for t in targets %}
125125
{{ t }}:
126126
<<: *{{ t }}
127-
{{ 'dataset' if t == 'bigquery' else 'schema' }}: {{ schema_name }}_elementary
127+
{{ 'dataset' if t == 'bigquery' else ('enterprise_catalog_folder' if t == 'dremio' else 'schema') }}: {{ schema_name }}_elementary
128128
{%- endfor %}

0 commit comments

Comments
 (0)