Skip to content

Commit

Permalink
0002277: Don't log a warning when there is a missing column data for …
Browse files Browse the repository at this point in the history
…a transform due to a delete when capture old data is turned off
  • Loading branch information
chenson42 committed Apr 16, 2015
1 parent d3c5e12 commit ccd8f3d
Showing 1 changed file with 11 additions and 4 deletions.
Expand Up @@ -295,10 +295,17 @@ protected boolean perform(DataContext context, TransformedData data,
}
}
} else {
log.warn(
"Could not find a source column of {} for the transformation: {}",
transformColumn.getSourceColumnName(),
transformation.getTransformId());
if (eventType != DataEventType.DELETE) {
log.warn(
"Could not find a source column of {} for the transformation: {}",
transformColumn.getSourceColumnName(),
transformation.getTransformId());
} else {
log.debug(
"Could not find a source column of {} for the transformation: {}. This is probably because this was a DELETE event and no old data was captured.",
transformColumn.getSourceColumnName(),
transformation.getTransformId());
}
}
}
}
Expand Down

0 comments on commit ccd8f3d

Please sign in to comment.