Fixes to RealtimeInputFormat and RealtimeRecordReader and update documentation for HiveSyncTool
This commit is contained in:
committed by
prazanna
parent
521555c576
commit
4b26be9f61
@@ -28,11 +28,11 @@ import org.apache.hadoop.fs.Path;
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CompactionWriteStat implements Serializable {
|
||||
|
||||
private final HoodieWriteStat writeStat;
|
||||
private HoodieWriteStat writeStat;
|
||||
private String partitionPath;
|
||||
private final long totalLogRecords;
|
||||
private final long totalLogFiles;
|
||||
private final long totalRecordsToBeUpdate;
|
||||
private long totalLogRecords;
|
||||
private long totalLogFiles;
|
||||
private long totalRecordsToBeUpdate;
|
||||
|
||||
public CompactionWriteStat(HoodieWriteStat writeStat, String partitionPath, long totalLogFiles, long totalLogRecords,
|
||||
long totalRecordsToUpdate) {
|
||||
@@ -43,6 +43,10 @@ public class CompactionWriteStat implements Serializable {
|
||||
this.totalRecordsToBeUpdate = totalRecordsToUpdate;
|
||||
}
|
||||
|
||||
public CompactionWriteStat() {
|
||||
// For de-serialization
|
||||
}
|
||||
|
||||
public long getTotalLogRecords() {
|
||||
return totalLogRecords;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user