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


##########
hudi-common/src/main/java/org/apache/hudi/common/model/OverwriteWithLatestAvroPayload.java:
##########
@@ -39,13 +39,21 @@
  */
 public class OverwriteWithLatestAvroPayload extends BaseAvroPayload
     implements HoodieRecordPayload<OverwriteWithLatestAvroPayload> {
+  // This variable is used to check if this class has been initialized.
+  public static boolean initialized = false;

Review Comment:
   Can't we achieve confidence with unit tests instead of adding test logic to 
our runtime classes?



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