You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by saurabh <mp...@gmail.com> on 2015/07/23 12:27:02 UTC
Unsigned Data Type Support
Hi All,
Is there any data type in hive which only stores positive values and
converts the negative values to ZERO?
This can be handled while data processing e.g. CASE statement or
COLEASCE(IF()), just wanted to be check if this can be handled at the Table
definition level.
Thanks in Advance.
Regards,
Saurabh
Re: Unsigned Data Type Support
Posted by Alan Gates <al...@gmail.com>.
No, we don't natively support this in Hive.
Alan.
> saurabh <ma...@gmail.com>
> July 23, 2015 at 3:27
> Hi All,
>
> Is there any data type in hive which only stores positive values and
> converts the negative values to ZERO?
>
> This can be handled while data processing e.g. CASE statement or
> COLEASCE(IF()), just wanted to be check if this can be handled at the
> Table definition level.
>
> Thanks in Advance.
>
> Regards,
> Saurabh
>
>
>