sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1031) Provide default Java type mapping for MS Sql Datetimeoffset type
Date Tue, 21 May 2013 10:51:16 GMT

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

Hudson commented on SQOOP-1031:
-------------------------------

Integrated in Sqoop-ant-jdk-1.6-hadoop23 #842 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/842/])
    SQOOP-1031: Provide default Java type mapping for MS Sql Datetimeoffset type (Revision
28af5122ea8778b5fcd6341a492d64283c706b08)

     Result = SUCCESS
jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=28af5122ea8778b5fcd6341a492d64283c706b08
Files : 
* src/java/org/apache/sqoop/manager/SQLServerManager.java

                
> Provide default Java type mapping for MS Sql Datetimeoffset type
> ----------------------------------------------------------------
>
>                 Key: SQOOP-1031
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1031
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.4
>            Reporter: Shuaishuai Nie
>            Assignee: Shuaishuai Nie
>             Fix For: 1.4.4
>
>         Attachments: SQOOP-1031.1.patch
>
>
> MS SQL database type datetimeoffset causes errors when importing to HDFS. We need to
provide a default mapping in SQLServerManager which could still be overriden by users if wanted.
> In order to preserve time zone offset we use String instead of TimeStamp. This would
still work when exporting the imported data back to MS SQL Server

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

Mime
View raw message