提交 9d028e8d 编写于 作者: S shenglian zhou

try to fix ubigint percentile range

上级 a1268020
...@@ -74,7 +74,7 @@ static int32_t setBoundingBox(MinMaxEntry* range, int16_t type, double minval, d ...@@ -74,7 +74,7 @@ static int32_t setBoundingBox(MinMaxEntry* range, int16_t type, double minval, d
} }
} else if (IS_UNSIGNED_NUMERIC_TYPE(type)){ } else if (IS_UNSIGNED_NUMERIC_TYPE(type)){
range->u64MinVal = (uint64_t) minval; range->u64MinVal = (uint64_t) minval;
if ((uint64_t)maxval > UINT64_MAX) { if (maxval > UINT64_MAX) {
range->u64MaxVal = UINT64_MAX; range->u64MaxVal = UINT64_MAX;
} else { } else {
range->u64MaxVal = (uint64_t) maxval; range->u64MaxVal = (uint64_t) maxval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册