Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
Signed-off-by: RinChanNOWWW <rinchannow@bupt.edu.cn>
  • Loading branch information
RinChanNOWWW committed Jul 25, 2022
1 parent 0c4090d commit 75a2fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/AggregateFunctions/AggregateFunctionNull.h
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class AggregateFunctionNullUnary final : public AggregateFunctionNullBase<result
const IColumn * nested_column = &column->getNestedColumn();
this->nested_function->add(this->nestedPlace(place), &nested_column, row_num, arena);
}
else if (const String & nexted_func_name = this->nested_function->getName(); nexted_func_name == "groupBitOr" || nexted_func_name == "groupBitAnd" || nexted_func_name == "groupBitXor")
else if (const String & nested_func_name = this->nested_function->getName(); nested_func_name == "groupBitOr" || nested_func_name == "groupBitAnd" || nested_func_name == "groupBitXor")
{
// If nested_function is bitwise aggregation function,
// the result is always not null.
Expand Down Expand Up @@ -474,7 +474,7 @@ class AggregateFunctionNullUnary final : public AggregateFunctionNullBase<result
arena,
if_argument_pos);

if (const String & nexted_func_name = this->nested_function->getName(); nexted_func_name == "groupBitOr" || nexted_func_name == "groupBitAnd" || nexted_func_name == "groupBitXor")
if (const String & nested_func_name = this->nested_function->getName(); nested_func_name == "groupBitOr" || nested_func_name == "groupBitAnd" || nested_func_name == "groupBitXor")
{
// If nested_function is bitwise aggregation function,
// the result is always not null.
Expand Down

0 comments on commit 75a2fe2

Please sign in to comment.