github-actions[bot] commented on code in PR #44425:
URL: https://github.com/apache/doris/pull/44425#discussion_r1852137770


##########
be/src/vec/columns/column_vector.cpp:
##########
@@ -242,7 +243,7 @@ void ColumnVector<T>::get_permutation(bool reverse, size_t 
limit, int nan_direct
     if (s == 0) return;
 
     // std::partial_sort need limit << s can get performance benefit
-    if (limit > (s / 8.0)) limit = 0;
+    if (limit > (s / 8.0L)) limit = 0;

Review Comment:
   warning: statement should be inside braces 
[readability-braces-around-statements]
   
   ```suggestion
       if (limit > (s / 8.0L)) { limit = 0;
   }
   ```
   



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to