This is an automated email from the ASF dual-hosted git repository.
eldenmoon pushed a commit to branch variant-sparse
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/variant-sparse by this push:
new 5ec135844a2 random from 2, 8 (#45903)
5ec135844a2 is described below
commit 5ec135844a24197d0626fba5acbfbce2360e2b36
Author: lihangyu <[email protected]>
AuthorDate: Wed Dec 25 10:44:51 2024 +0800
random from 2, 8 (#45903)
---
be/src/vec/columns/column_object.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/vec/columns/column_object.cpp
b/be/src/vec/columns/column_object.cpp
index 8e2e4e06efb..ac61e5c7e6e 100644
--- a/be/src/vec/columns/column_object.cpp
+++ b/be/src/vec/columns/column_object.cpp
@@ -2153,7 +2153,7 @@ const DataTypePtr ColumnObject::NESTED_TYPE =
std::make_shared<vectorized::DataT
#ifndef NDEBUG
const size_t ColumnObject::MAX_SUBCOLUMNS = []() -> size_t {
std::srand(std::time(nullptr)); // 初始化随机数种子
- return 1 + std::rand() % 10; // 随机值范围 [1, 10]
+ return 2 + std::rand() % 8; // 随机值范围 [1, 10]
}();
#else
const size_t ColumnObject::MAX_SUBCOLUMNS = 5;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]