You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Eric Lin (JIRA)" <ji...@apache.org> on 2017/07/27 08:32:00 UTC
[jira] [Updated] (SQOOP-3186) Add Sqoop1 (import + --incremental +
--check-column) support for functions/expressions
[ https://issues.apache.org/jira/browse/SQOOP-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Lin updated SQOOP-3186:
----------------------------
Attachment: SQOOP-3186.patch
First iteration, added "--check-column-expr" parameter to support this feature, as "--check-column" 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)