PavithranRick commented on code in PR #17460:
URL: https://github.com/apache/hudi/pull/17460#discussion_r2761794297
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/TestCompactionTable.scala:
##########
@@ -194,7 +194,7 @@ class TestCompactionTable extends HoodieSparkSqlTestBase {
Seq(3, "a3", 10.0, 1000)
)
// show compaction
- assertResult(1)(spark.sql(s"show compaction on
$tableName").collect().length)
+ assertResult(2)(spark.sql(s"show compaction on
$tableName").collect().length)
Review Comment:
<img width="1680" height="486" alt="Image"
src="https://github.com/user-attachments/assets/005e8e74-638e-4abb-acb4-971d5c434471"
/>
Seems we are adding each entry w.r.t each WriteStat from compaction instant
--
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]