-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-571] Add 'commits show archived' command to CLI #1274
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,6 +135,7 @@ public class HoodieWriteStat implements Serializable { | |
| /** | ||
| * Total number of rollback blocks seen in a compaction operation. | ||
| */ | ||
| @Nullable | ||
|
||
| private long totalRollbackBlocks; | ||
|
|
||
| /** | ||
|
|
@@ -290,7 +291,7 @@ public long getTotalRollbackBlocks() { | |
| return totalRollbackBlocks; | ||
| } | ||
|
|
||
| public void setTotalRollbackBlocks(Long totalRollbackBlocks) { | ||
|
||
| public void setTotalRollbackBlocks(long totalRollbackBlocks) { | ||
| this.totalRollbackBlocks = totalRollbackBlocks; | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use a defaultValue during the cliOption itself so you don't have to use these checks ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLIOption attribute can only be assigned a static value. i think default static value is not that friendly. I chose to pick '10 days before today' which is likely to be commonly used. Let me know if you prefer default constant date instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, that makes sense