mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
ISSUES-4006 try fix build failure
This commit is contained in:
parent
b76f218d90
commit
c0db408c38
@ -386,7 +386,8 @@ static void writeFieldsToColumn(
|
||||
return true;
|
||||
};
|
||||
|
||||
const auto & write_data_to_column = [&](auto * casted_column, auto from_type, auto to_type) {
|
||||
const auto & write_data_to_column = [&](auto * casted_column, auto from_type, auto to_type)
|
||||
{
|
||||
for (size_t index = 0; index < rows_data.size(); ++index)
|
||||
{
|
||||
const Field & value = DB::get<const Tuple &>(rows_data[index])[column_index];
|
||||
|
@ -185,7 +185,7 @@ static ASTPtr getPartitionPolicy(const NamesAndTypesList & primary_keys)
|
||||
};
|
||||
|
||||
ASTPtr best_partition;
|
||||
size_t index = 0, best_size = 0;
|
||||
size_t best_size = 0;
|
||||
for (const auto & primary_key : primary_keys)
|
||||
{
|
||||
DataTypePtr type = primary_key.type;
|
||||
|
Loading…
Reference in New Issue
Block a user