DRILL-498 cast to varchar only returns one row