linliu-code commented on code in PR #14083:
URL: https://github.com/apache/hudi/pull/14083#discussion_r2433385125


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/analysis/TestHoodiePruneFileSourcePartitions.scala:
##########
@@ -108,8 +108,8 @@ class TestHoodiePruneFileSourcePartitions extends 
HoodieClientTestBase with Scal
             case "eager" =>
               // NOTE: In case of partitioned table 3 files will be created, 
while in case of non-partitioned just 1
               if (partitioned) {
-                assertEquals(1275, f.stats.sizeInBytes.longValue / 1024)
-                assertEquals(1275, lr.stats.sizeInBytes.longValue / 1024)
+                assertEquals(1275, Math.ceil(f.stats.sizeInBytes.longValue * 
1.0 / 1024))

Review Comment:
   This seems failed after the fix. Will remove this change.



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