[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

@ -51,6 +51,7 @@ ColumnMap::ColumnMap(MutableColumnPtr&& keys, MutableColumnPtr&& values, Mutable
if (!offsets_concrete) {
LOG(FATAL) << "offsets_column must be a ColumnUInt64";
__builtin_unreachable();
}
if (!offsets_concrete->empty() && keys_column && values_column) {