voonhous commented on code in PR #18944: URL: https://github.com/apache/hudi/pull/18944#discussion_r3393263951
########## hudi-common/src/main/java/org/apache/hudi/common/table/read/BufferedRecord.java: ########## @@ -23,52 +23,38 @@ import org.apache.hudi.common.schema.HoodieSchema; import org.apache.hudi.common.util.OrderingValues; +import lombok.AllArgsConstructor; +import lombok.EqualsAndHashCode; +import lombok.Getter; +import lombok.Setter; + import javax.annotation.Nullable; import java.io.Serializable; -import java.util.Objects; import java.util.function.UnaryOperator; /** * Buffered Record used by file group reader. * * @param <T> The type of the engine specific row. */ +@AllArgsConstructor +@Getter +@EqualsAndHashCode Review Comment: Added a comment so that future cleanups will take note of the `getClass()` vs `instanceof` gotcha. -- 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]
