File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/templates/finops-hub/test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2074,6 +2074,11 @@ Write-Host " Output Path: $OutputPath"
20742074if ($PSBoundParameters.ContainsKey (' Seed' )) { Write-Host " Random Seed: $Seed " }
20752075Write-Host " "
20762076
2077+ # Resolve OutputPath to absolute — Export-Parquet (a .NET cmdlet) uses
2078+ # [IO.Directory]::GetCurrentDirectory() which may differ from PowerShell's $PWD.
2079+ # Converting to absolute here avoids "Could not find a part of the path" errors.
2080+ $OutputPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath ($OutputPath )
2081+
20772082# Create output directory
20782083if (-not (Test-Path $OutputPath ))
20792084{
@@ -2889,4 +2894,4 @@ else
28892894 Write-Host " 3. Start ADF triggers to process the data"
28902895}
28912896
2892- Write-Host " "
2897+ Write-Host " "
You can’t perform that action at this time.
0 commit comments