xushiyan commented on a change in pull request #4888: URL: https://github.com/apache/hudi/pull/4888#discussion_r832926186
########## File path: hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDD.scala ########## @@ -70,34 +73,59 @@ class HoodieMergeOnReadRDD(@transient sc: SparkContext, ) .getOrElse(new Properties()) + private val whitelistedPayloadClasses: Set[String] = Seq( + classOf[OverwriteWithLatestAvroPayload] Review comment: sounds ok to make it work with OverwriteWithLatestAvroPayload which is the current default, covering most cases -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org