CalvinKirs commented on code in PR #25565:
URL: https://github.com/apache/doris/pull/25565#discussion_r1363331516


##########
fe/fe-common/src/main/java/org/apache/doris/common/io/DiskUtils.java:
##########
@@ -46,52 +44,83 @@ public static Df df(String dir) {
             return df;
         }
 
+
         Process process;
         try {
-            process = Runtime.getRuntime().exec("df " + dir);
+            process = Runtime.getRuntime().exec("df -k " + dir);

Review Comment:
   When displayed in the sql result, this will be automatically converted to 
display in G units. Preserving the accuracy may be used for other purposes 
later. We can convert it into the format we like at will.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to