This is an automated email from the ASF dual-hosted git repository.
zhangyue19921010 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 cf20c95f48d [MINOR] fix typo (#7616)
cf20c95f48d is described below
commit cf20c95f48d3344b7e07e6dcc6c5219ffa063e4b
Author: wuyouwuyoulian <[email protected]>
AuthorDate: Fri Jan 6 23:26:10 2023 +0800
[MINOR] fix typo (#7616)
Co-authored-by: xiaol <891028llll>
---
.../org/apache/hudi/common/table/view/AbstractTableFileSystemView.java | 2 +-
.../main/java/org/apache/hudi/common/util/BufferedRandomAccessFile.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
b/hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
index de1b39dccf9..ca847bedaf0 100644
---
a/hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
+++
b/hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
@@ -137,7 +137,7 @@ public abstract class AbstractTableFileSystemView
implements SyncableFileSystemV
List<HoodieFileGroup> fileGroups = buildFileGroups(statuses,
visibleCommitsAndCompactionTimeline, true);
long fgBuildTimeTakenMs = timer.endTimer();
timer.startTimer();
- // Group by partition for efficient updates for both InMemory and
DiskBased stuctures.
+ // Group by partition for efficient updates for both InMemory and
DiskBased structures.
fileGroups.stream().collect(Collectors.groupingBy(HoodieFileGroup::getPartitionPath)).forEach((partition,
value) -> {
if (!isPartitionAvailableInStore(partition)) {
if (bootstrapIndex.useIndex()) {
diff --git
a/hudi-common/src/main/java/org/apache/hudi/common/util/BufferedRandomAccessFile.java
b/hudi-common/src/main/java/org/apache/hudi/common/util/BufferedRandomAccessFile.java
index 4eab1905594..be57a11f714 100644
---
a/hudi-common/src/main/java/org/apache/hudi/common/util/BufferedRandomAccessFile.java
+++
b/hudi-common/src/main/java/org/apache/hudi/common/util/BufferedRandomAccessFile.java
@@ -196,7 +196,7 @@ public final class BufferedRandomAccessFile extends
RandomAccessFile {
}
/**
- * If the new seek position is in the buffer, adjust the currentPostion.
+ * If the new seek position is in the buffer, adjust the currentPosition.
* If the new seek position is outside of the buffer, flush the contents to
* the file and reload the buffer corresponding to the position.
*