Skip to content

Commit

Permalink
[fix](group commit) remove unused code (#44015)
Browse files Browse the repository at this point in the history
remove unused code because the select be strategy is moved to
GroupCommitManager
  • Loading branch information
mymeiyi authored Nov 15, 2024
1 parent 756d216 commit a80edb2
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ public enum ConnectType {
private Map<String, String> resultAttachedInfo = Maps.newHashMap();

private String workloadGroupName = "";
private Map<Long, Backend> insertGroupCommitTableToBeMap = new HashMap<>();
private boolean isGroupCommit;

private TResultSinkType resultSinkType = TResultSinkType.MYSQL_PROTOCAL;
Expand Down Expand Up @@ -1329,14 +1328,6 @@ public String getWorkloadGroupName() {
return this.workloadGroupName;
}

public void setInsertGroupCommit(long tableId, Backend backend) {
insertGroupCommitTableToBeMap.put(tableId, backend);
}

public Backend getInsertGroupCommit(long tableId) {
return insertGroupCommitTableToBeMap.get(tableId);
}

public boolean isSkipAuth() {
return skipAuth;
}
Expand Down

0 comments on commit a80edb2

Please sign in to comment.