This is an automated email from the ASF dual-hosted git repository.

jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b281385a [AMORO-3633][improvement]: Fix the sorting rules of 
topTables order by healthScore (#3634)
5b281385a is described below

commit 5b281385a38679a22b5b96f3b0972234d487be21
Author: cxxiii <[email protected]>
AuthorDate: Thu Jun 26 10:19:01 2025 +0800

    [AMORO-3633][improvement]: Fix the sorting rules of topTables order by 
healthScore (#3634)
    
    fix the sorting rules of topTables order by healthScore
---
 .../apache/amoro/server/dashboard/controller/OverviewController.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OverviewController.java
 
b/amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OverviewController.java
index e541de989..2ab083bc4 100644
--- 
a/amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OverviewController.java
+++ 
b/amoro-ams/src/main/java/org/apache/amoro/server/dashboard/controller/OverviewController.java
@@ -87,7 +87,7 @@ public class OverviewController {
                 item ->
                     item.getHealthScore() < 0
                         ? (isAsc ? Long.MAX_VALUE : Long.MIN_VALUE)
-                        : item.getTableSize());
+                        : item.getHealthScore());
         top10Tables = getTopTables(isAsc, healthScoreComparator, limit);
         break;
       default:

Reply via email to