Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedeyantu committed Apr 8, 2024
1 parent 4612b7b commit 0d11ce6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions be/src/vec/functions/function_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,7 @@ class FunctionStrcmp : public IFunction {
}
}

static void vector_vector(const ColumnString& vec0, const ColumnString& vec1,
ColumnInt8& res) {
static void vector_vector(const ColumnString& vec0, const ColumnString& vec1, ColumnInt8& res) {
size_t size = vec0.size();
for (size_t i = 0; i < size; ++i) {
res.get_data()[i] = vec0.get_data_at(i).compare(vec1.get_data_at(i));
Expand Down

0 comments on commit 0d11ce6

Please sign in to comment.