There are implications here from the (groupbyExprs == null && !expressionjson.isEmpty()) case.