[Fix](compile) Fix gcc compile on master (#33864)

This is imported by #33511. wrongly used

ColumnStr<T> ();

which violate C++20 standard(see https://wg21.cmeerw.net/cwg/issue2237) but still supported by clang up until now(see llvm/llvm-project#58112)
This commit is contained in:
zclllyybb
2024-04-19 15:50:11 +08:00
committed by yiguolei
parent 74590e4836
commit 25358564ca
72 changed files with 251 additions and 109 deletions

View File

@ -268,6 +268,7 @@ Status VSetOperationNode<is_intersect>::pull(RuntimeState* state, Block* output_
state->batch_size(), eos);
} else {
LOG(FATAL) << "FATAL: uninited hash table";
__builtin_unreachable();
}
},
*_hash_table_variants);
@ -322,6 +323,7 @@ Status VSetOperationNode<is_intersect>::process_build_block(Block& block, Runtim
st = hash_table_build_process(arg, _arena);
} else {
LOG(FATAL) << "FATAL: uninited hash table";
__builtin_unreachable();
}
},
*_hash_table_variants);
@ -372,6 +374,7 @@ Status VSetOperationNode<is_intersect>::sink_probe(RuntimeState* state, int chil
return process_hashtable_ctx.mark_data_in_hashtable(arg);
} else {
LOG(FATAL) << "FATAL: uninited hash table";
__builtin_unreachable();
}
},
*_hash_table_variants));
@ -558,6 +561,7 @@ void VSetOperationNode<is_intersect>::refresh_hash_table() {
}
} else {
LOG(FATAL) << "FATAL: uninited hash table";
__builtin_unreachable();
}
},
*_hash_table_variants);