Fix special build

This commit is contained in:
Kruglov Pavel 2023-04-05 18:29:59 +02:00 committed by GitHub
parent 9d3790a4c8
commit 11d3d01e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -800,8 +800,8 @@ static ColumnWithTypeAndName readColumnFromArrowColumn(
key_type = key_type_hint;
}
auto map_column = ColumnMap::create(std::move(key_column), std::move(value_column), offsets_column);
auto map_type = std::make_shared<DataTypeMap>(std::move(key_type), std::move(value_type));
auto map_column = ColumnMap::create(key_column, value_column, offsets_column);
auto map_type = std::make_shared<DataTypeMap>(key_type, value_type);
return {std::move(map_column), std::move(map_type), column_name};
}
case arrow::Type::LIST: