eldenmoon commented on code in PR #10388: URL: https://github.com/apache/doris/pull/10388#discussion_r905977203
########## gensrc/script/doris_builtins_functions.py: ########## @@ -160,6 +160,18 @@ [['array_position'], 'BIGINT', ['ARRAY_STRING', 'STRING'], '', '', '', 'vec', ''], [['cardinality', 'size'], 'BIGINT', ['ARRAY'], '', '', '', 'vec', ''], + [['array_distinct'], 'ARRAY_TINYINT', ['ARRAY_TINYINT'], '', '', '', 'vec', ''], Review Comment: But the sql may fail if not add symbol, you could try this, here's my issue i encounterd ``` mysql> set enable_vectorized_engine = true; Query OK, 0 rows affected (0.05 sec) mysql> select size(id) from github where element_at(id, 1) = 1 ; ERROR 1105 (HY000): errCode = 2, detailMessage = Function element_at is not implemented. ``` there are no errors if no `where` condition -- 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