File tree 3 files changed +7
-7
lines changed
include/fabric/macros/materializations/snapshots
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ def get_relation_type(cls) -> Type[FabricRelationType]:
18
18
19
19
@classmethod
20
20
def render_limited (self ) -> str :
21
- rendered = self .render (self = self )
21
+ rendered = self .render ()
22
22
if self .limit is None :
23
23
return rendered
24
24
elif self .limit == 0 :
25
- return f"(select * from { rendered } where 1=0) _dbt_top_subq "
25
+ return f"(select * from { rendered } where 1=0) { self . _render_limited_alias () } "
26
26
else :
27
- return f"(select TOP { self .limit } * from { rendered } ) _dbt_top_subq "
27
+ return f"(select TOP { self .limit } * from { rendered } ) { self . _render_limited_alias () } "
Original file line number Diff line number Diff line change 11
11
12
12
{% set columns %}
13
13
{% for column in columns %}
14
- , CAST(NULL AS {{column .data_type }}) AS {{column_name }}
14
+ , CAST(NULL AS {{column .data_type }}) AS {{column . name }}
15
15
{% endfor %}
16
16
{% endset %}
17
17
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter
6
6
git+https://github.com/dbt-labs/dbt-common.git
7
7
8
8
pytest==8.0.1
9
- twine==5.0.0
10
- wheel==0.42
9
+ twine==5.1.1
10
+ wheel==0.44.0
11
11
pre-commit==3.5.0;python_version<"3.9"
12
- pre-commit==3.6.2 ;python_version>="3.9"
12
+ pre-commit==3.8.0 ;python_version>="3.9"
13
13
pytest-dotenv==0.5.2
14
14
flaky==3.7.0
15
15
pytest-xdist==3.5.0
You can’t perform that action at this time.
0 commit comments