Skip to content

Commit

Permalink
Update DatabricksJobsHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Sep 23, 2024
1 parent 021e9db commit 344cc9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ private RunParameters CreateParameters(SettlementReportRequestDto request, Marke

if (request.SplitReportPerGridArea)
{
jobParameters.Add("split-report-by-grid-area", null!);
jobParameters.Add("split-report-by-grid-area", "true");
}

if (request.PreventLargeTextFiles)
{
jobParameters.Add("prevent-large-text-files", null!);
jobParameters.Add("prevent-large-text-files", "true");
}

return RunParameters.CreateJobParams(jobParameters);
return RunParameters.CreatePythonNamedParams(jobParameters);
}

private static string MapMarketRole(MarketRole marketRole)
Expand Down

0 comments on commit 344cc9e

Please sign in to comment.