Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stream2000 committed Feb 23, 2024
1 parent 67a2069 commit 8712b4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static PartitionTTLStrategyType fromClassName(String className) {
throw new IllegalArgumentException("No PartitionTTLStrategyType found for class name: " + className);
}

public static List<String> getNames() {
public static List<String> getPartitionTTLStrategyNames() {
List<String> names = new ArrayList<>(PartitionTTLStrategyType.values().length);
Arrays.stream(PartitionTTLStrategyType.values())
.forEach(x -> names.add(x.name()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ public void testInlinePartitionTTL() {
}
}


private void writeRecordsForPartition(SparkRDDWriteClient client, HoodieTestDataGenerator dataGen, String partition, String instantTime) {
List<HoodieRecord> records = dataGen.generateInsertsForPartition(instantTime, 10, partition);
client.startCommitWithTime(instantTime);
Expand Down

0 comments on commit 8712b4d

Please sign in to comment.