This is an automated email from the ASF dual-hosted git repository. leesf pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git
The following commit(s) were added to refs/heads/master by this push: new 017ee8e [MINOR] Fix partition typo (#1209) 017ee8e is described below commit 017ee8e66193fd7056c08ec1f36a1d9d6ee58969 Author: lamber-ken <lamber...@163.com> AuthorDate: Sun Jan 12 09:35:55 2020 +0800 [MINOR] Fix partition typo (#1209) --- hudi-client/src/test/java/org/apache/hudi/TestCleaner.java | 2 +- .../src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java | 2 +- .../org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java | 2 +- hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java b/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java index 47459cd..baec875 100644 --- a/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java +++ b/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java @@ -910,7 +910,7 @@ public class TestCleaner extends TestHoodieClientBase { * Test CLeaner Stat when there are no partition paths. */ @Test - public void testCleaningWithZeroPartitonPaths() throws IOException { + public void testCleaningWithZeroPartitionPaths() throws IOException { HoodieWriteConfig config = HoodieWriteConfig.newBuilder().withPath(basePath).withAssumeDatePartitioning(true) .withCompactionConfig(HoodieCompactionConfig.newBuilder() .withCleanerPolicy(HoodieCleaningPolicy.KEEP_LATEST_COMMITS).retainCommits(2).build()) diff --git a/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java b/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java index ff61b2f..84e4e4f 100644 --- a/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java +++ b/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java @@ -416,7 +416,7 @@ public class TestCopyOnWriteTable extends HoodieClientTestHarness { WorkloadProfile profile = new WorkloadProfile(jsc.parallelize(records)); HoodieCopyOnWriteTable.UpsertPartitioner partitioner = (HoodieCopyOnWriteTable.UpsertPartitioner) table.getUpsertPartitioner(profile); - assertEquals("Update record should have gone to the 1 update partiton", 0, partitioner.getPartition( + assertEquals("Update record should have gone to the 1 update partition", 0, partitioner.getPartition( new Tuple2<>(updateRecords.get(0).getKey(), Option.ofNullable(updateRecords.get(0).getCurrentLocation())))); return partitioner; } diff --git a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java index a551011..31ff910 100644 --- a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java +++ b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java @@ -329,7 +329,7 @@ public class TestIncrementalFSViewSync extends HoodieCommonTestHarness { Assert.assertEquals(State.COMPLETED, view.getLastInstant().get().getState()); Assert.assertEquals(HoodieTimeline.CLEAN_ACTION, view.getLastInstant().get().getAction()); partitions.forEach(p -> { - LOG.info("PARTTITION : " + p); + LOG.info("PARTITION : " + p); LOG.info("\tFileSlices :" + view.getAllFileSlices(p).collect(Collectors.toList())); }); diff --git a/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java b/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java index 67cce12..7579f86 100644 --- a/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java +++ b/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java @@ -133,7 +133,7 @@ public class HoodieHiveClient { } /** - * Add the (NEW) partitons to the table. + * Add the (NEW) partitions to the table. */ void addPartitionsToTable(List<String> partitionsToAdd) { if (partitionsToAdd.isEmpty()) {