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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## v1.12.5
4
+
5
+
### Bug Fixes
6
+
7
+
- Fix `UnexpectedJinjaBlockDeprecation` (D023) emitted by `create_table_as.sql`: a stray `{% do %}` tag inside a C-style `/* … */` comment was being parsed as a top-level Jinja block. Switched the wrapper to a Jinja comment `{# … #}`. Added a unit-test regression that scans every macro file for `unexpected_block` warnings. ([#46](https://github.com/microsoft/dbt-fabricspark/issues/46))
8
+
- Pin `dbt-core<2.0` in `tools/scripts/run-local-e2e.sh` so the local end-to-end harness keeps resolving a `fabricspark`-aware dbt-core (avoids the unrelated `2.0.0a1` alpha).
9
+
- Fix latent typo in `alter_column_set_constraints` dispatcher macro (`create_table_as.sql`): the body was missing its `{{ … }}` wrap, so the macro emitted its own source as text instead of dispatching. Added unit guards: (a) the dispatcher now renders via `adapter.dispatch` correctly, and (b) `FabricSparkRelation` cannot silently re-introduce the legacy `Cannot set database in spark!` runtime check that v1.9.3 removed to enable schema-enabled lakehouses and cross-lakehouse writes. ([#46](https://github.com/microsoft/dbt-fabricspark/issues/46))
$pick=Read-Host"Pick a drive number [1-$($driveOptions.Count)]"
86
+
} while (-not ($pick-as [int]) -or [int]$pick-lt1-or [int]$pick-gt$driveOptions.Count)
87
+
88
+
$wslLocation=$driveOptions[[int]$pick-1]
89
+
90
+
if ($wslLocation.FreeGB-lt$RECOMMENDED_FREE_GB) {
91
+
Write-Host"WARNING: $($wslLocation.Path) has only $($wslLocation.FreeGB) GB free, which is below the recommended ${RECOMMENDED_FREE_GB} GB."-ForegroundColor DarkYellow
92
+
$requiredResponse="I am OK with having my WSL crash when my hard disk fills up"
93
+
do {
94
+
$response=Read-Host"Please type '$requiredResponse' **EXACTLY** as is to continue"
95
+
} while ($response-ne$requiredResponse)
96
+
} else {
97
+
Write-Host"Using $($wslLocation.Path) for the WSL VHD."-ForegroundColor Green
Write-Error"Detected WSL $wslVersion, but $minWslVersion is required for 'wsl --install --location'. Run 'wsl --update' manually and re-run this script."
133
+
exit1
134
+
}
135
+
Write-Host"WSL version $wslVersion detected."-ForegroundColor Green
136
+
137
+
Write-Host"Installing Ubuntu to $($wslLocation.Path)"
0 commit comments