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-321) Support date/time columns for "--incremental append" option
Date Thu, 25 Aug 2011 08:14:29 GMT

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

Hudson commented on SQOOP-321:
------------------------------

Integrated in Sqoop-jdk-1.6 #18 (See [https://builds.apache.org/job/Sqoop-jdk-1.6/18/])
    SQOOP-321. Support date/time for incremental append imports.

(Bilung Lee via Arvind Prabhakar)

arvind : http://svn.apache.org/viewvc/?view=rev&rev=1161404
Files : 
* /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/manager/ConnManager.java
* /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/manager/OracleManager.java
* /incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/ImportTool.java
* /incubator/sqoop/trunk/src/test/com/cloudera/sqoop/TestIncrementalImport.java


> Support date/time columns for "--incremental append" option
> -----------------------------------------------------------
>
>                 Key: SQOOP-321
>                 URL: https://issues.apache.org/jira/browse/SQOOP-321
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Bilung Lee
>            Assignee: Bilung Lee
>             Fix For: 1.4.0
>
>
> Currently, when "--incremental append" option is used, only numeric columns are supported
for check column.
> One workaround to "mimic" append mode with date/time values is
> 1) select max(dt) from table into max_dt
> 2) sqoop import --incremental lastmodified --check-column dt --last-value max_dt

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message