I created PHOENIX-1587 and added a patch.
On Thu, Jan 15, 2015 at 10:39 AM, Jan Van Besien wrote:
> Hi,
>
> I think there is a bug in PArrayDataType, in the context of "store nulls".
>
> The first line of the createPhoenixArray method tackles the case where
> an empty byte array is interpreted as
Hi,
I think there is a bug in PArrayDataType, in the context of "store nulls".
The first line of the createPhoenixArray method tackles the case where
an empty byte array is interpreted as null. However, I think the check
should be
if (bytes == null || length == 0)
rather than
if (bytes == null