Skip to content

Commit

Permalink
fix: Use master instead of temp table on removeUpdatedData
Browse files Browse the repository at this point in the history
  • Loading branch information
tokland committed Mar 4, 2025
1 parent 9c942a6 commit 8679a5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,12 @@ where ax.psi in ( \
and psi.lastupdated >= '${startDate}' \
and psi.lastupdated < '${endDate}');""",
Map.of(
"tableName", quote(table.getName()),
"tableName", quote(table.getMainName()),
"programId", String.valueOf(table.getProgram().getId()),
"startDate", toLongDate(partition.getStartDate()),
"endDate", toLongDate(partition.getEndDate())));

invokeTimeAndLog(sql, "Remove updated events for table: '{}'", table.getName());
invokeTimeAndLog(sql, "Remove updated events for table: '{}'", table.getMainName());
}
}

Expand Down

0 comments on commit 8679a5b

Please # to comment.