Skip to content

Commit e31cbd5

Browse files
authored
Merge pull request #272 from microsoft/v1.9.3
dbt docs generate to handle more than one data warehouse
2 parents 1a1a9ab + 5500e8e commit e31cbd5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

dbt/adapters/fabric/fabric_relation.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
class FabricRelation(BaseRelation):
1212
type: Optional[FabricRelationType] = None # type: ignore
1313
quote_policy: FabricQuotePolicy = field(default_factory=lambda: FabricQuotePolicy())
14+
require_alias: bool = False
1415

1516
@classproperty
1617
def get_relation_type(cls) -> Type[FabricRelationType]:

dbt/include/fabric/macros/adapters/catalog.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{% set query_label = apply_label() %}
44
{%- call statement('catalog', fetch_result=True) -%}
5-
5+
{{ get_use_database_sql(information_schemas.database) }}
66
with
77
principals as (
88
select

tests/functional/adapter/test_incremental_microbatch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# No requirement for a unique_id for snowflake microbatch!
55
_microbatch_model_no_unique_id_sql = """
66
{{ config(materialized='incremental', incremental_strategy='microbatch', event_time='event_time', batch_size='day', begin='2020-01-01 00:00:00.000000') }}
7-
select * from {{ ref('input_model') }}
7+
select * from {{ ref('input_model') }} a
88
"""
99

1010
_input_model_sql = """

0 commit comments

Comments
 (0)