xushiyan commented on code in PR #7157:
URL: https://github.com/apache/hudi/pull/7157#discussion_r1015509349
##########
packaging/bundle-validation/spark_hadoop_mr/write.scala:
##########
@@ -47,11 +47,5 @@ df.write.format("hudi").
save(basePath)
spark.sql("desc " + tableName).show
-val actual = spark.sql("select * from " + tableName).count
-if (expected == actual) {
- System.out.println($"bundle combination passed sanity run.")
- System.exit(0)
-} else {
- System.err.println($"bundle combination failed sanity run:\n\tshould have
written $expected records in $database.$tableName")
- System.exit(1)
-}
+
+System.exit(0)
Review Comment:
this file changed to `write.scala` only to write data. Validation moved to
`test_spark_hadoop_mr_bundles()` in `validate.sh`
--
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]