mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Slightly better
This commit is contained in:
parent
aed4e5d1c4
commit
f70b0ed910
@ -510,8 +510,9 @@ void ExpressionAction::execute(Block & block, bool dry_run) const
|
||||
if (can_replace && block.has(result_name))
|
||||
{
|
||||
auto & result = block.getByName(result_name);
|
||||
result.type = block.getByName(source_name).type;
|
||||
result.column = block.getByName(source_name).column;
|
||||
const auto & source = block.getByName(source_name);
|
||||
result.type = source.type;
|
||||
result.column = source.column;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user