Postgres snapshot - On null records, clear prior value from currentRecord
This commit is contained in:
parent
16620f0bf9
commit
1330df8908
@ -367,6 +367,9 @@ private Object valueForColumn(ResultSet rs, int colIdx, ResultSetMetaData metaDa
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void generateReadRecord(TableId tableId, Object[] rowData) {
|
protected void generateReadRecord(TableId tableId, Object[] rowData) {
|
||||||
|
// Clear the existing record to prevent reprocessing stale data.
|
||||||
|
currentRecord.set(null);
|
||||||
|
|
||||||
if (rowData.length == 0) {
|
if (rowData.length == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user