[ https://issues.apache.org/jira/browse/SQOOP-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102926#comment-16102926 ]
Eric Lin edited comment on SQOOP-3186 at 7/27/17 8:32 AM: ---------------------------------------------------------- First iteration, added {code}--check-column-expr{code} parameter to support this feature, as {code}--check-column{code} is still needed to determine column data type and it is not easy to extract column name from the function/expression. Suggestions welcome. was (Author: ericlin): First iteration, added {code}--check-column-expr{code} parameter to support this feature, as {code}--check-column{code} is still need to determined column data type and it is not easy to extract column name from the function/expression. Suggestions welcome. > Add Sqoop1 (import + --incremental + --check-column) support for > functions/expressions > -------------------------------------------------------------------------------------- > > Key: SQOOP-3186 > URL: https://issues.apache.org/jira/browse/SQOOP-3186 > Project: Sqoop > Issue Type: Improvement > Reporter: Markus Kemper > Assignee: Eric Lin > Attachments: SQOOP-3186.patch > > > Add Sqoop1 (import + --incremental + --check-column) support for > functions/expressions, for example: > *Example* > {noformat} > sqoop import \ > --connect $MYCONN --username $MYUSER --password $MYPSWD \ > --table T1 --target-dir /path/directory --merge-key C1 \ > --incremental lastmodified --last-value '2017-01-01 00:00:00.0' \ > --check-column nvl(C4,to_date('2017-01-01 00:00:00') > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)