diff --git a/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp b/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp index 8a968b40210..3690a49d5ae 100644 --- a/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp +++ b/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp @@ -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(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(key_type, value_type); return {std::move(map_column), std::move(map_type), column_name}; } case arrow::Type::LIST: