You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by faisal moeen <fm...@gmail.com> on 2014/05/28 19:09:32 UTC

Index out of bound exception in INTEGER array

Hi,

The ARRAY documentation at
http://phoenix.incubator.apache.org/array_type.html  says:

"*Attempts to access an array element beyond the current length will
evaluate to null*."

but I think that is not true for array types other than varchar. I tried it
with FLOAT & INTEGER. It throws an "Index Out of Bound" exception.

It returns null if we use VARCHAR ARRAY.

says

-- 

Regards
Faisal Moeen