Skip to content

Commit

Permalink
fix the right payload class name, then MOR table use projection schema
Browse files Browse the repository at this point in the history
  • Loading branch information
albericgenius committed Oct 31, 2022
1 parent 455a3bd commit 72fc6aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public AbstractRealtimeRecordReader(RealtimeSplit split, JobConf job) {

private boolean usesCustomPayload(HoodieTableMetaClient metaClient) {
return !(metaClient.getTableConfig().getPayloadClass().contains(HoodieAvroPayload.class.getName())
|| metaClient.getTableConfig().getPayloadClass().contains("org.apache.hudi.OverwriteWithLatestAvroPayload"));
|| metaClient.getTableConfig().getPayloadClass().contains("org.apache.hudi.common.model.OverwriteWithLatestAvroPayload"));
}

/**
Expand Down

0 comments on commit 72fc6aa

Please sign in to comment.