PHOENIX-843 Incorrect java.sql.Types value returned for array types in result set (Gabriel Reid)