[ https://issues.apache.org/jira/browse/HIVE-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-3189: ----------------------------------- Resolution: Fixed Fix Version/s: 0.12.0 Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Xiu for testcase! > 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 > Assignee: Xiu > Fix For: 0.12.0 > > 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