This is an automated email from the ASF dual-hosted git repository.
panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 22522c94cf7 [chore](function) remove useless code in function conv
(#55593)
22522c94cf7 is described below
commit 22522c94cf7d5911a70dccbd6a0898a33a0cedaa
Author: Mryange <[email protected]>
AuthorDate: Wed Sep 3 15:13:27 2025 +0800
[chore](function) remove useless code in function conv (#55593)
remove useless code in function conv
---
be/src/vec/functions/function_conv.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/be/src/vec/functions/function_conv.cpp
b/be/src/vec/functions/function_conv.cpp
index 6c1a9a6e251..4bbc65a7fa8 100644
--- a/be/src/vec/functions/function_conv.cpp
+++ b/be/src/vec/functions/function_conv.cpp
@@ -129,10 +129,6 @@ private:
const ColumnInt8* dst_base_column,
ColumnString* result_column,
NullMap& result_null_map, size_t
input_rows_count) {
for (size_t i = 0; i < input_rows_count; i++) {
- if (result_null_map[i]) {
- result_column->insert_default();
- continue;
- }
Int8 src_base = src_base_column->get_element(i);
Int8 dst_base = dst_base_column->get_element(i);
if (_check_oob(src_base, dst_base)) {
@@ -155,10 +151,6 @@ private:
return;
}
for (size_t i = 0; i < input_rows_count; i++) {
- if (result_null_map[i]) {
- result_column->insert_default();
- continue;
- }
Impl::calculate_cell(context, data_column, src_base, dst_base,
result_column,
result_null_map, i);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]