Skip to content

Commit

Permalink
added list to ignore migration if already done for
Browse files Browse the repository at this point in the history
(cherry picked from commit 3e17c98)
  • Loading branch information
mohityadav766 committed Jul 27, 2023
1 parent 7ab9895 commit 5cf7b54
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ private static void updateFQNHashForFieldRelationship(
private static void updateFQNHashEntityExtensionTimeSeries(
Handle handle, String updateSql, CollectionDAO collectionDAO, int limitParam) {
LOG.debug("Starting Migration for Entity Extension Time Series");
try {
collectionDAO.entityExtensionTimeSeriesDao().listDistinctCount();
} catch (Exception ex) {
return;
}
while (true) {
PreparedBatch upsertBatch = handle.prepareBatch(updateSql);
List<String> entityFQNLists =
Expand Down

0 comments on commit 5cf7b54

Please sign in to comment.