This repository was archived by the owner on May 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +127
-193
lines changed
QueryEngine/JoinHashTable Expand file tree Collapse file tree 3 files changed +127
-193
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,6 @@ class PerfectJoinHashTableBuilder {
166
166
0 );
167
167
168
168
auto cpu_hash_table_buff = reinterpret_cast <int32_t *>(hash_table_->getCpuBuffer ());
169
- // const int thread_count = cpu_threads();
170
- // std::vector<std::thread> init_cpu_buff_threads;
171
169
172
170
{
173
171
auto timer_init = DEBUG_TIMER (" CPU One-To-One Perfect-Hash: init_hash_join_buff" );
@@ -176,13 +174,11 @@ class PerfectJoinHashTableBuilder {
176
174
hash_join_invalid_val);
177
175
}
178
176
const bool for_semi_join = for_semi_anti_join (join_type);
179
- // std::atomic<int> err{0};
180
177
{
181
178
auto timer_fill =
182
179
DEBUG_TIMER (" CPU One-To-One Perfect-Hash: fill_hash_join_buff_bucketized_cpu" );
183
180
184
181
{
185
- // int partial_err = 0;
186
182
JoinColumnTypeInfo type_info{static_cast <size_t >(type->size ()),
187
183
col_range.getIntMin (),
188
184
col_range.getIntMax (),
@@ -204,7 +200,6 @@ class PerfectJoinHashTableBuilder {
204
200
if (error) {
205
201
// Too many hash entries, need to retry with a 1:many table
206
202
hash_table_ = nullptr ; // clear the hash table buffer
207
- // LOG(ERROR) << "cpu hash_tabel error: " << error;
208
203
throw NeedsOneToManyHash ();
209
204
}
210
205
}
You can’t perform that action at this time.
0 commit comments