not using repeated array expression anymore due to impala's performance bug