hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3189) cast ( <string type> as bigint) returning null values
Date Mon, 12 Aug 2013 18:46:50 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiu updated HIVE-3189:
----------------------

    Status: Patch Available  (was: Open)

It is fixed in Hive 0.9.0+ as well as the current Hive trunk and the defect could not be reproduced.

A patch of new testcases is attached to verify the fix.
                
> cast ( <string type> as bigint) returning null values
> -----------------------------------------------------
>
>                 Key: HIVE-3189
>                 URL: https://issues.apache.org/jira/browse/HIVE-3189
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: N Campbell
>         Attachments: Hive-3189.patch.txt
>
>
> select rnum, c1, cast(c1 as bigint) from cert.tsdchar tsdchar where rnum in (0,1,2)
> create table if not exists CERT.TSDCHAR ( RNUM int , C1 string)
> row format sequencefile
> rnum	c1	_c2
> 0	-1                         	<null>
> 1	0                          	<null>
> 2	10                         	<null>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message