sinoryan opened a new issue #11418:
URL: https://github.com/apache/shardingsphere/issues/11418
shardingsphere version:4.1.1
mybatis sql as follow:
SELECT id,
(CASE
WHEN LENGTH(TRIM(name_en))<![CDATA[>]]>0 THEN
CONCAT(name_cn,'-',name_en)
ELSE name_cn
END) AS text,account_no FROM `user`
WHERE status=1 xxxx
debug screenshot


exception:
line 3:25 no viable alternative at input '(CASEWHENLENGTH(TRIM(name_en'
--
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]