Skip to content

Commit

Permalink
modify serialize name
Browse files Browse the repository at this point in the history
  • Loading branch information
mymeiyi committed May 7, 2024
1 parent bd266f5 commit 604b176
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions fe/fe-core/src/main/java/org/apache/doris/load/EtlStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@

public class EtlStatus implements Writable {
public static final String DEFAULT_TRACKING_URL = FeConstants.null_string;
@SerializedName(value = "state")
@SerializedName(value = "s")
private TEtlState state;
@SerializedName(value = "trackingUrl")
@SerializedName(value = "tu")
private String trackingUrl;
@SerializedName(value = "stats")
@SerializedName(value = "st")
private Map<String, String> stats;
@SerializedName(value = "counters")
@SerializedName(value = "c")
private Map<String, String> counters;
// not persist
private Map<String, Long> fileMap;
Expand Down
4 changes: 2 additions & 2 deletions fe/fe-core/src/main/java/org/apache/doris/load/FailMsg.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public enum CancelType {
TXN_UNKNOWN // cancelled because txn status is unknown
}

@SerializedName(value = "cancelType")
@SerializedName(value = "ct")
private CancelType cancelType;
@SerializedName(value = "msg")
@SerializedName(value = "m")
private String msg = "";

public FailMsg() {
Expand Down

0 comments on commit 604b176

Please sign in to comment.