linliu-code commented on code in PR #10398:
URL: https://github.com/apache/hudi/pull/10398#discussion_r1434665648
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroRecord.java:
##########
@@ -96,7 +106,16 @@ public T getData() {
@Override
public Comparable<?> getOrderingValue(Schema recordSchema, Properties props)
{
- return this.getData().getOrderingValue();
+ // For non-delete record.
+ if (data != null) {
Review Comment:
We can check the metadata first in the validation.
--
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]