Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgaldi committed Apr 22, 2024
1 parent 33b371f commit 9a51814
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ public TableRowInterfaces.RowResult<AnalysisRow> processRecord(AnalysisRow nextR
}

// Create a copy with just the dataset ID updated to VDI counterpart.
AnalysisRow out = new AnalysisRow(nextRow.getAnalysisId(), vdiDatasetId, new JSONObject(descriptor),
nextRow.getNumFilters(), nextRow.getNumComputations(), nextRow.getNumVisualizations());

LOG.info("Analysis descriptor after migration: " + out);
nextRow.setDescriptor(new JSONObject(descriptor));
nextRow.setDatasetId(vdiDatasetId);

return new TableRowInterfaces.RowResult<>(out)
LOG.info("Analysis descriptor after migration: " + descriptor);

return new TableRowInterfaces.RowResult<>(nextRow)
.setShouldWrite(_writeToDb);
}

Expand Down

0 comments on commit 9a51814

Please sign in to comment.