sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sriram (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-517) sqoop import having issues with Timestamp to Cassandra (DateTypes).
Date Wed, 25 Jul 2012 15:29:33 GMT

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

sriram commented on SQOOP-517:
------------------------------

Issue here is we are trying to map a DateTime column from SQLServer to Cassandra DateType.

Cassandra is not allowing to insert since it accepts the value only in milli seconds.(long
value).

Sqoop is trying to push the timestamp into cassandra, it fails for the above reason.
                
> sqoop import  having issues with Timestamp to Cassandra (DateTypes).
> --------------------------------------------------------------------
>
>                 Key: SQOOP-517
>                 URL: https://issues.apache.org/jira/browse/SQOOP-517
>             Project: Sqoop
>          Issue Type: Bug
>          Components: hive-integration, sqoop2-client, sqoop2-framework
>    Affects Versions: 1.4.0-incubating
>         Environment: Red Hat Linux - packaged with Datastax cassandra
>            Reporter: sriram
>
> We are trying to import data from SQL Server , one of the tables have datetime field.
Which is correctly converted to Timestamp in java, but when it tries to map it to cassandra
DateType. It is failing.
> Timestamp (java) is not mapping to DateType(cassandra).

--
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