zhangstar333 opened a new pull request, #37194: URL: https://github.com/apache/doris/pull/37194
## Proposed changes ``` select to_base64(aes_encrypt(column,'F3229A0B371ED2D9441B830D21A390C3', '0123456789')); In most case of user, the second and third argument are const literal. so handle the special case. mysql [test]>select count(aes_encrypt(a, 'seed1seed2seed3','0123456789')) from json_table_2; +-----------------------------------------------------------+ | count(aes_encrypt(a, '***', '0123456789', 'AES_256_CBC')) | +-----------------------------------------------------------+ | 10000001 | +-----------------------------------------------------------+ 1 row in set (5.20 sec) mysql [test]>select count(aes_encrypt(a, 'seed1seed2seed3','0123456789')) from json_table_2; +-----------------------------------------------------------+ | count(aes_encrypt(a, '***', '0123456789', 'AES_256_CBC')) | +-----------------------------------------------------------+ | 10000001 | +-----------------------------------------------------------+ 1 row in set (7.05 sec) ``` -- 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