mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge pull request #34406 from ClickHouse/fix-removing-order-in-CreatingSetsTransform
Fix wrong destruction order in CreatingSetsTransform.
This commit is contained in:
commit
7a30d490a1
@ -20,7 +20,7 @@ namespace ErrorCodes
|
||||
|
||||
|
||||
TSKVRowInputFormat::TSKVRowInputFormat(ReadBuffer & in_, Block header_, Params params_, const FormatSettings & format_settings_)
|
||||
: IRowInputFormat(header_, in_, std::move(params_)), format_settings(format_settings_), name_map(header_.columns())
|
||||
: IRowInputFormat(std::move(header_), in_, std::move(params_)), format_settings(format_settings_), name_map(getPort().getHeader().columns())
|
||||
{
|
||||
const auto & sample_block = getPort().getHeader();
|
||||
size_t num_columns = sample_block.columns();
|
||||
|
@ -44,8 +44,8 @@ public:
|
||||
private:
|
||||
SubqueryForSet subquery;
|
||||
|
||||
std::unique_ptr<PushingPipelineExecutor> executor;
|
||||
QueryPipeline table_out;
|
||||
std::unique_ptr<PushingPipelineExecutor> executor;
|
||||
UInt64 read_rows = 0;
|
||||
Stopwatch watch;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user