Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion be/test/exprs/topn_function_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void test_topn_accuracy(FunctionContext* ctx, int key_space, int space_expand_ra
std::uniform_int_distribution<> dist(0, PARALLEL-1);
for (uint32_t i = 0; i < TOTAL_RECORDS; ++i) {
// generate zipf_distribution
uint32_t index = zf(gen);
uint32_t index = zf(gen) - 1;
// choose one single topn to update
topn_single(ctx, random_strs[index], single_dst_str[dist(random_gen)], accuracy_map);
}
Expand Down