This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 979c81b066 [bugfix] signed long will be converted to signed long
during dcheck and cause dcheck fail (#10047)
979c81b066 is described below
commit 979c81b066b3e879ea8e3ec1ce4ffe5dfe595916
Author: Pxl <[email protected]>
AuthorDate: Fri Jun 10 14:26:38 2022 +0800
[bugfix] signed long will be converted to signed long during dcheck and
cause dcheck fail (#10047)
---
be/src/olap/in_list_predicate.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/in_list_predicate.cpp
b/be/src/olap/in_list_predicate.cpp
index 82c8241368..1b2ab20f3b 100644
--- a/be/src/olap/in_list_predicate.cpp
+++ b/be/src/olap/in_list_predicate.cpp
@@ -138,7 +138,7 @@ IN_LIST_PRED_COLUMN_BLOCK_EVALUATE(NotInListPredicate, ==)
uint16_t idx = sel[i];
\
sel[new_size] = idx;
\
const auto& cell_value = data_array[idx];
\
- DCHECK(cell_value < selected.size());
\
+ DCHECK(cell_value < (int64_t)selected.size());
\
bool ret = !null_bitmap[idx] && (selected[cell_value]
OP false); \
new_size += _opposite ? !ret : ret;
\
}
\
@@ -168,7 +168,7 @@ IN_LIST_PRED_COLUMN_BLOCK_EVALUATE(NotInListPredicate, ==)
uint16_t idx = sel[i];
\
sel[new_size] = idx;
\
const auto& cell_value = data_array[idx];
\
- DCHECK(cell_value < selected.size());
\
+ DCHECK(cell_value < (int64_t)selected.size());
\
auto result = (selected[cell_value] OP false);
\
new_size += _opposite ? !result : result;
\
}
\
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]