zhangstar333 commented on code in PR #17344: URL: https://github.com/apache/doris/pull/17344#discussion_r1125623331
########## gensrc/script/doris_builtins_functions.py: ########## @@ -100,7 +104,7 @@ [['element_at', '%element_extract%'], 'STRING', ['ARRAY_STRING', 'BIGINT'], 'ALWAYS_NULLABLE'], # map element - [['element_at', '%element_extract%'], 'INT', ['MAP_STRING_INT', 'STRING'], 'ALWAYS_NULLABLE'], + [['element_at', '%element_extract%'], 'V', ['MAP<K, V>', 'K'], 'ALWAYS_NULLABLE', ['K', 'V']], Review Comment: `[['array_sort'], 'ARRAY<K>', ['ARRAY<K>'], '', ['K']]` Thanks very mush! , use this way will be easy to register array functions. In addition, I want to know how to register if have a function eg: it's input params is all array type, and return type is also all array type it means, the input param is `ARRAY<K>`, so the return type not just K, like input is array<int>, but return will be array<boolean>, array<int>.....and so on -- 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