[HUDI-1208] Ordering Field should be optional when precombine is turned off (#2088)
This commit is contained in:
@@ -44,7 +44,7 @@ public class OverwriteWithLatestAvroPayload extends BaseAvroPayload
|
||||
}
|
||||
|
||||
public OverwriteWithLatestAvroPayload(Option<GenericRecord> record) {
|
||||
this(record.isPresent() ? record.get() : null, (record1) -> 0); // natural order
|
||||
this(record.isPresent() ? record.get() : null, 0); // natural order
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user