the-other-tim-brown commented on code in PR #13444:
URL: https://github.com/apache/hudi/pull/13444#discussion_r2214382792


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieWriteHandle.java:
##########
@@ -332,7 +332,7 @@ protected static Option<IndexedRecord> 
toAvroRecord(HoodieRecord record, Schema
     try {
       return record.toIndexedRecord(writerSchema, 
props).map(HoodieAvroIndexedRecord::getData);
     } catch (IOException e) {
-      LOG.error("Fail to get indexRecord from " + record, e);
+      LOG.error("Failed to convert to IndexedRecord", e);

Review Comment:
   This will log out the contents of the record which can leak sensitive 
information into logs



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