nsivabalan commented on code in PR #13844:
URL: https://github.com/apache/hudi/pull/13844#discussion_r2328386061


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/streamer/HoodieStreamerUtils.java:
##########
@@ -118,7 +119,7 @@ public static Option<JavaRDD<HoodieRecord>> 
createHoodieRecords(HoodieStreamer.C
                   if (shouldErrorTable) {
                     Schema schema = genRec.getSchema();
                     if (!GenericData.get().validate(schema, genRec)) {
-                      throw new HoodieException("The record does not match the 
schema: " + schema);
+                      throw new HoodieIOException("The record to be serialized 
does not match the schema: " + schema);

Review Comment:
   don't we need to fix any of validations in test after this fix? 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to