diff --git a/source/settlement-report/SettlementReports.Infrastructure/Helpers/DatabricksJobsHelper.cs b/source/settlement-report/SettlementReports.Infrastructure/Helpers/DatabricksJobsHelper.cs index 70f348f..56848f0 100644 --- a/source/settlement-report/SettlementReports.Infrastructure/Helpers/DatabricksJobsHelper.cs +++ b/source/settlement-report/SettlementReports.Infrastructure/Helpers/DatabricksJobsHelper.cs @@ -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)