mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
dbms: Cleanup [#METR-19266]
This commit is contained in:
parent
98b5fde211
commit
1802f8d299
@ -97,11 +97,11 @@ void FunctionIsNotNull::executeImpl(Block & block, const ColumnNumbers & argumen
|
|||||||
{
|
{
|
||||||
ColumnWithTypeAndName temp_res;
|
ColumnWithTypeAndName temp_res;
|
||||||
temp_res.type = std::make_shared<DataTypeUInt8>();
|
temp_res.type = std::make_shared<DataTypeUInt8>();
|
||||||
|
temp_res.name = "isNull(" + block.getByPosition(arguments[0]).name + ")";
|
||||||
|
|
||||||
|
size_t temp_res_num = block.columns();
|
||||||
block.insert(temp_res);
|
block.insert(temp_res);
|
||||||
|
|
||||||
size_t temp_res_num = block.columns() - 1;
|
|
||||||
|
|
||||||
FunctionIsNull{}.executeImpl(block, arguments, temp_res_num);
|
FunctionIsNull{}.executeImpl(block, arguments, temp_res_num);
|
||||||
FunctionNot{}.executeImpl(block, {temp_res_num}, result);
|
FunctionNot{}.executeImpl(block, {temp_res_num}, result);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user