[HUDI-374] Unable to generateUpdates in QuickstartUtils (#1059)
This commit is contained in:
@@ -162,7 +162,7 @@ public class QuickstartUtils {
|
|||||||
String randomString = generateRandomString();
|
String randomString = generateRandomString();
|
||||||
List<HoodieRecord> updates = new ArrayList<>();
|
List<HoodieRecord> updates = new ArrayList<>();
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
HoodieKey key = existingKeys.get(rand.nextInt(numExistingKeys - 1));
|
HoodieKey key = existingKeys.get(rand.nextInt(numExistingKeys));
|
||||||
HoodieRecord record = generateUpdateRecord(key, randomString);
|
HoodieRecord record = generateUpdateRecord(key, randomString);
|
||||||
updates.add(record);
|
updates.add(record);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user