sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-3186) Add Sqoop1 (import + --incremental + --check-column) support for functions/expressions
Date Thu, 27 Jul 2017 08:32:00 GMT

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

Mime
View raw message