HappenLee opened a new pull request, #64175: URL: https://github.com/apache/doris/pull/64175
## Summary - Skip `convert_to_full_column_if_const()` for the array argument in `element_at` when it's a `ColumnConst`, using `unpack_if_const()` + `index_check_const()` instead to avoid O(N) memory expansion. - Add `is_const_array` parameter to `_execute_nullable`, `_execute_number`, `_execute_string`, and `_execute_common` methods. - Add unit tests covering const int32/string arrays, null arrays, null indices, and large batches (4096 rows). ## Test plan - BE UT: `function_array_element_test.cpp` — 5 new test cases covering const array scenarios. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
