xiaokang commented on code in PR #22927:
URL: https://github.com/apache/doris/pull/22927#discussion_r1294165868


##########
be/src/vec/functions/array/function_array_element.h:
##########
@@ -356,6 +400,15 @@ class FunctionArrayElement : public IFunction {
         } else if (check_column<ColumnString>(*nested_column)) {
             res = _execute_string(offsets, *nested_column, src_null_map, 
*idx_col, nested_null_map,
                                   dst_null_map);
+        } else if (check_column<ColumnArray>(*nested_column)) {
+            res = _get_mapped_value<ColumnArray>(offsets, *nested_column, 
src_null_map, *idx_col,

Review Comment:
   1. change name to _execute_common
   2. impl to type awareless



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to