wombatu-kun commented on code in PR #10949:
URL: https://github.com/apache/hudi/pull/10949#discussion_r1551804778
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/ddl/TestSpark3DDL.scala:
##########
@@ -742,6 +744,8 @@ class TestSpark3DDL extends HoodieSparkSqlTestBase {
option("hoodie.schema.on.read.enable","true").
option("hoodie.datasource.write.reconcile.schema","true").
option(DataSourceWriteOptions.TABLE_NAME.key(), tableName).
+ option(HoodieWriteConfig.WRITE_PAYLOAD_CLASS_NAME.key(),
classOf[OverwriteWithLatestAvroPayload].getName).
Review Comment:
> It does not looks like so.
Yes, you are right. This test is not about checking OverwriteWithLatest
behavior, but `OverwriteWithLatestAvroPayload` made it work determinate in case
of randomly generated input data.
This test with HOODIE_AVRO_DEFAULT and random values in preCombine field
fails, so i just set `ts` values manually on each write. Is it better?
--
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]