Skip to content

Commit

Permalink
Temp schema prefix to be present in the cohortTable argument in CCQue…
Browse files Browse the repository at this point in the history
…ryBuilder
  • Loading branch information
oleg-odysseus authored and alex-odysseus committed Feb 25, 2025
1 parent cc39b3d commit 892c1fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected String[] prepareQueries(ChunkContext chunkContext, CancelableJdbcTempl
saveInfoWithinTheSeparateTransaction(jobId, serializedDesign, userEntity);
final Integer sourceId = Integer.valueOf(jobParams.get(SOURCE_ID).toString());
final Source source = sourceService.findBySourceId(sourceId);
final String cohortTable = jobParams.get(TARGET_TABLE).toString();
final String cohortTable = String.format("%s.%s", SourceUtils.getTempQualifier(source), jobParams.get(TARGET_TABLE).toString());
final String sessionId = jobParams.get(SESSION_ID).toString();
final String tempSchema = SourceUtils.getTempQualifier(source);
boolean includeAnnual = cohortCharacterization.getCcFeatureAnalyses().stream()
Expand Down

0 comments on commit 892c1fc

Please sign in to comment.