vamshikrishnakyatham commented on code in PR #13736:
URL: https://github.com/apache/hudi/pull/13736#discussion_r2292456415


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/procedure/TestShowCleansProcedures.scala:
##########
@@ -71,19 +71,21 @@ class TestShowCleansProcedures extends 
HoodieSparkProcedureTestBase {
         val secondCleanPlans = spark.sql(s"call show_clean_plans(table => 
'$tableName')").collect()
         require(secondCleanPlans.length >= 2, "Should have at least 2 clean 
plans after second clean")
 
+        val sortedPlans = secondCleanPlans.sortBy(_.getString(0))
+        val actualFirstCleanTime = sortedPlans(0).getString(0)
+

Review Comment:
   fixed



##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/procedure/TestShowCleansProcedures.scala:
##########
@@ -71,19 +71,21 @@ class TestShowCleansProcedures extends 
HoodieSparkProcedureTestBase {
         val secondCleanPlans = spark.sql(s"call show_clean_plans(table => 
'$tableName')").collect()
         require(secondCleanPlans.length >= 2, "Should have at least 2 clean 
plans after second clean")
 
+        val sortedPlans = secondCleanPlans.sortBy(_.getString(0))
+        val actualFirstCleanTime = sortedPlans(0).getString(0)
+
+        val startTimeStr = (actualFirstCleanTime.toLong + 1000).toString

Review Comment:
   fixed



-- 
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]

Reply via email to