I've been checking this recently, and I found that using other function different from GROUP_CONCAT works, for example SELECT FUNCTION('CONCAT',..). Using the same with GROUP_CONCAT fails, so it seems it maybe related to this issue.