arw357 commented on a change in pull request #960: Adding type test for 
timestamp,date & decimal
URL: https://github.com/apache/incubator-hudi/pull/960#discussion_r336356593
 
 

 ##########
 File path: 
hudi-client/src/test/java/org/apache/hudi/common/HoodieTestDataGenerator.java
 ##########
 @@ -218,7 +300,13 @@ public static void createSavepointFile(String basePath, 
String commitTime, Confi
       existingKeys.put(currSize + i, kp);
       numExistingKeys++;
       try {
-        return new HoodieRecord(key, generateRandomValue(key, commitTime));
+        TestRawTripPayload trip;
+        if (extraType) {
+          trip = generateExtraTypeRandomValue(key, commitTime);
+        } else {
+          trip = generateRandomValue(key, commitTime);
+        }
+        return new HoodieRecord(key,trip);
 
 Review comment:
   Done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to