You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2012/07/25 20:28:37 UTC

[jira] [Resolved] (SQOOP-517) sqoop import having issues with Timestamp to Cassandra (DateTypes).

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

Jarek Jarcec Cecho resolved SQOOP-517.
--------------------------------------

    Resolution: Not A Problem
      Assignee: Jarek Jarcec Cecho

Hi Sriram,
Thank you for your comment. I believe that I currently do understand your use case. I'm afraid that we can't help you much with Cassandra's custom Sqoop build. Please try to reach Cassandra support in order to get help.

Meantime I would recommend trying to override Sqoop default type mapping for example to string using --map-column-java YourColumn=String.

Jarcec
                
> 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
>            Assignee: Jarek Jarcec Cecho
>
> 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