Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinyhZou committed Aug 15, 2024
1 parent f123ff5 commit b06f171
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpp-ch/local-engine/Functions/SparkFunctionArraysOverlap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <Functions/FunctionFactory.h>
#include <DataTypes/DataTypeString.h>
#include <DataTypes/DataTypesNumber.h>
#include <iostream>

using namespace DB;

Expand Down Expand Up @@ -136,6 +135,9 @@ class SparkFunctionArraysOverlap : public IFunction
executeCompare(array_col_1->getData(), array_null_col_2->getNestedColumn());
}
}
else
throw Exception(ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT, "The arguments data type is not match.");

if (!res_data[i] && has_null_equals)
null_map_data[i] = 1;
current_offset_1 = array_offsets_1[i];
Expand Down

0 comments on commit b06f171

Please sign in to comment.