This is an automated email from the ASF dual-hosted git repository.
sivabalan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 135db099afc [MINOR] Remove redundant fileId from HoodieAppendHandle
(#10901)
135db099afc is described below
commit 135db099afc99ad12c758c5428233614cf14a49a
Author: wombatu-kun <[email protected]>
AuthorDate: Fri Mar 22 03:12:01 2024 +0700
[MINOR] Remove redundant fileId from HoodieAppendHandle (#10901)
Co-authored-by: Vova Kolmakov <[email protected]>
---
.../src/main/java/org/apache/hudi/io/HoodieAppendHandle.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java
b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java
index 8d0eb2305e6..93df86e170d 100644
---
a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java
+++
b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieAppendHandle.java
@@ -89,7 +89,6 @@ public class HoodieAppendHandle<T, I, K, O> extends
HoodieWriteHandle<T, I, K, O
private static final AtomicLong RECORD_COUNTER = new AtomicLong(1);
private static final int NUMBER_OF_RECORDS_TO_ESTIMATE_RECORD_SIZE = 100;
- protected final String fileId;
private final boolean shouldWriteRecordPositions;
// Buffer for holding records in memory before they are flushed to disk
private final List<HoodieRecord> recordList = new ArrayList<>();
@@ -158,7 +157,6 @@ public class HoodieAppendHandle<T, I, K, O> extends
HoodieWriteHandle<T, I, K, O
? Option.of(new
Schema.Parser().parse(config.getPartialUpdateSchema()))
: Option.empty(),
taskContextSupplier);
- this.fileId = fileId;
this.recordItr = recordItr;
this.sizeEstimator = new DefaultSizeEstimator();
this.statuses = new ArrayList<>();