Fix build

This commit is contained in:
Kruglov Pavel 2023-04-17 22:22:26 +02:00 committed by GitHub
parent be0b0e7921
commit 3bbc347901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,7 +287,7 @@ static ColumnWithTypeAndName readColumnWithDate32Data(std::shared_ptr<arrow::Chu
column_data.insert_assume_reserved(raw_data, raw_data + chunk.length());
}
}
return {internal_column, internal_type, column_name};
return {std::move(internal_column), internal_type, column_name};
}
/// Arrow stores Parquet::DATETIME in Int64, while ClickHouse stores DateTime in UInt32. Therefore, it should be checked before saving