You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Mike Lewis <mi...@gmail.com> on 2010/10/21 00:36:21 UTC

Ambiguity with singleton array with a null value

It appears that if you have an array with the length of 1 and a null in it,
it will just assume the column is null.  I realize the specification for
this is ambiguous because it would be stored the same way whether the array
is null, or it is an array with the length of one.

Is there a best known way to cope with this when writing UDFs?

-Mike

--
Michael Lewis
lolrus.org
mikelikespie@gmail.com