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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5c4bf4fa7ab [fix](variant) Fix -Wtype-limits error in 
VariantStatsCaculator (#62632)
5c4bf4fa7ab is described below

commit 5c4bf4fa7ab34d3a7c87e0726f1c6d71d9a360d8
Author: Chenyang Sun <[email protected]>
AuthorDate: Mon Apr 20 20:07:38 2026 +0800

    [fix](variant) Fix -Wtype-limits error in VariantStatsCaculator (#62632)
    
    introduced by #62571
---
 be/src/storage/segment/variant_stats_calculator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/storage/segment/variant_stats_calculator.cpp 
b/be/src/storage/segment/variant_stats_calculator.cpp
index c49b4de31aa..83788ee1373 100644
--- a/be/src/storage/segment/variant_stats_calculator.cpp
+++ b/be/src/storage/segment/variant_stats_calculator.cpp
@@ -35,7 +35,7 @@ VariantStatsCaculator::VariantStatsCaculator(SegmentFooterPB* 
footer,
         const auto& column = _footer->columns(i);
         // path that need to record stats
         if (column.has_column_path_info() &&
-            column.column_path_info().parrent_column_unique_id() >= 0) {
+            column.column_path_info().has_parrent_column_unique_id()) {
             
_path_to_footer_index[column.column_path_info().parrent_column_unique_id()]
                                  [column.column_path_info().path()] = i;
         }


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

Reply via email to