Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix][Connector-V2] Fix connector source snapshot state NPE #4027

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
### Connectors
- [ClickHouse File] Fix ClickhouseFile Committer Serializable Problems #3803
- [ClickHouse] Fix clickhouse write cdc changelog update event #3951
- [ClickHouse] Fix connector source snapshot state NPE #4027
- [Kudu] Fix connector source snapshot state NPE #4027

### Zeta Engine
- [Checkpoint] Fix Checkpoint Continue Trigger After Job CANCELED #3808
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;

Expand Down Expand Up @@ -88,7 +89,7 @@ public void pollNext(Collector<SeaTunnelRow> output) throws Exception {

@Override
public List<ClickhouseSourceSplit> snapshotState(long checkpointId) throws Exception {
return null;
return Collections.emptyList();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.apache.kudu.client.RowResult;
import org.apache.kudu.client.RowResultIterator;

import java.util.Collections;
import java.util.Deque;
import java.util.LinkedList;
import java.util.List;
Expand Down Expand Up @@ -85,7 +86,7 @@ public void pollNext(Collector<SeaTunnelRow> output) throws Exception {

@Override
public List<KuduSourceSplit> snapshotState(long checkpointId) {
return null;
return Collections.emptyList();
}

@Override
Expand Down