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:34 GMT

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

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

Also the syntax

./dse sqoop import --connect 'jdbc:sqlserver://xx:1433;username=xx;password=xx;databasename=REF_XX'
--table Address_Id_Change --split-by Old_Address_Id --cassandra-keyspace xx--cassandra-column-family
AddressIdChange_cf --cassandra-row-key Old_Address_Id --cassandra-thrift-host localhost 
                
> 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