trojanliu edited a comment on issue #2125: not support count if, database will be the default , not the true URL: https://github.com/apache/incubator-shardingsphere/issues/2125#issuecomment-480685064   IN VERSION 3.1.0 if sql is 'SELECT count(IF(sex = 1 , TRUE , NULL)) AS maleCount FROM tx_user;' it will parsing stop at `if`. AND tablename is not parsing, so it use the default database;
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
