Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
liugddx committed Feb 4, 2024
1 parent 99ca84b commit 487519c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions be/src/vec/functions/function_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -2757,8 +2757,6 @@ class FunctionUrlDecode : public IFunction {

const ColumnNumbers& arguments, size_t result,
size_t input_rows_count) const override {
auto null_map = ColumnUInt8::create(input_rows_count, 0);
auto& null_map_data = null_map->get_data();

auto res = ColumnString::create();
auto& res_offsets = res->get_offsets();
Expand All @@ -2774,10 +2772,6 @@ class FunctionUrlDecode : public IFunction {
}

for (size_t i = 0; i < input_rows_count; ++i) {
if (null_map_data[i]) {
StringOP::push_null_string(i, res_chars, res_offsets, null_map_data);
continue;
}

auto source = url_col->get_data_at(i);
StringRef url_val(const_cast<char*>(source.data), source.size);
Expand Down

0 comments on commit 487519c

Please sign in to comment.