-
Notifications
You must be signed in to change notification settings - Fork 2.9k
API,Core,Spark: Add rewritten bytes to rewrite data files procedure results #6801
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 |
|---|---|---|
|
|
@@ -24,13 +24,26 @@ | |
| public class BaseFileGroupRewriteResult implements FileGroupRewriteResult { | ||
| private final int addedDataFilesCount; | ||
| private final int rewrittenDataFilesCount; | ||
| private final long rewrittenBytesCount; | ||
| private final FileGroupInfo info; | ||
|
|
||
| /** | ||
| * @deprecated Will be removed in 1.3.0; use {@link | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we create an issue for this, and add it to the 1.3.0 milestone?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll usually clean things like this up right after a release, so I'll open an issue for that shortly
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Awesome, just to make sure that's in the collective memory of the community :) |
||
| * BaseFileGroupRewriteResult#BaseFileGroupRewriteResult(FileGroupInfo, int, int, long)} | ||
| * instead. | ||
| */ | ||
| @Deprecated | ||
| public BaseFileGroupRewriteResult( | ||
| FileGroupInfo info, int addedFilesCount, int rewrittenFilesCount) { | ||
| this(info, addedFilesCount, rewrittenFilesCount, 0L); | ||
| } | ||
|
|
||
| public BaseFileGroupRewriteResult( | ||
| FileGroupInfo info, int addedFilesCount, int rewrittenFilesCount, long rewrittenBytesCount) { | ||
| this.info = info; | ||
| this.addedDataFilesCount = addedFilesCount; | ||
| this.rewrittenDataFilesCount = rewrittenFilesCount; | ||
| this.rewrittenBytesCount = rewrittenBytesCount; | ||
| } | ||
|
|
||
| @Override | ||
|
|
@@ -47,4 +60,9 @@ public int addedDataFilesCount() { | |
| public int rewrittenDataFilesCount() { | ||
| return rewrittenDataFilesCount; | ||
| } | ||
|
|
||
| @Override | ||
| public long rewrittenBytesCount() { | ||
| return rewrittenBytesCount; | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.