hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neha Tomar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3228) unable to load null values that represent a timestamp value
Date Thu, 16 Aug 2012 19:15:38 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436245#comment-13436245
] 

Neha Tomar commented on HIVE-3228:
----------------------------------

I don't think this issue is fixed as I am still seeing it. Can anyone pleases update?
                
> unable to load null values that represent a timestamp value
> -----------------------------------------------------------
>
>                 Key: HIVE-3228
>                 URL: https://issues.apache.org/jira/browse/HIVE-3228
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: N Campbell
>         Attachments: CERT.TTS.txt
>
>
> Attempting to load delimited data into a table with one or more timestamp columns will
fail when null values are represented in the input set.
> load data local inpath '....CERT.TTS.txt'
> overwrite into table CERT.TTS_E;
> insert overwrite table CERT.TTS  select * from CERT.TTS_E;
> Error: Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 2
from org.apache.hadoop.hive.ql.exec.MapRedTask
> SQLState:  08S01
> ErrorCode: 9
> create table if not exists CERT.TTS_E ( RNUM int , CTS timestamp)
> row format delimited
> fields terminated by '\t'
> stored as textfile;
> create table if not exists CERT.TTS ( RNUM int , CTS timestamp) 
> stored as sequencefile;
> 0	
> 1	1996-01-01 00:00:00.000000000
> 2	1996-01-01 12:00:00.000000000
> 3	1996-01-01 23:59:30.123000000
> 4	2000-01-01 00:00:00.000000000
> 5	2000-01-01 12:00:00.000000000
> 6	2000-01-01 23:59:30.123000000
> 7	2000-12-31 00:00:00.000000000
> 8	2000-12-31 12:00:00.000000000
> 9	2000-12-31 12:15:30.123000000

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message