You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "e-mhui (via GitHub)" <gi...@apache.org> on 2023/03/02 03:48:56 UTC
[GitHub] [inlong] e-mhui opened a new pull request, #7489: [INLONG-7488][Sort] Fix the issue of only being able to read one record during the incremental snapshot
e-mhui opened a new pull request, #7489:
URL: https://github.com/apache/inlong/pull/7489
### Prepare a Pull Request
[INLONG-7488][Sort] Fix the issue of only being able to read one record during the incremental snapshot
- Fixes #7488
### Motivation
Fix the issue of only being able to read one record during the incremental snapshot.
### Modifications
In the snapshot, `record.key()` is null, so it will overwrite the previous record. So we can to add record without primary key into list.
```java
if (!reachChangeLogStart) {
if (record.key() == null) {
snapshotRecordsWithoutKey.add(record);
} else {
outputBuffer.put((Struct) record.key(), record);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [inlong] dockerzhang merged pull request #7489: [INLONG-7488][Sort] Fix the issue of only being able to read one record during the incremental snapshot
Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang merged PR #7489:
URL: https://github.com/apache/inlong/pull/7489
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org