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] [Commented] (SQOOP-3186) Add Sqoop1 (import + --incremental + --check-column) support for functions/expressions
Date Mon, 14 Aug 2017 10:16:00 GMT

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

Eric Lin commented on SQOOP-3186:
---------------------------------

[~BoglarkaEgyed],

Sorry, I forgot to add to review. Now done: https://reviews.apache.org/r/61615/

I am still working on adding new test case, however, due to lack of support for having functions
inside aggregation function call in HSQL, like SUM(COALEASE(col1, 1)), I can't get my test
going. So I am still working on it.

Can you please help to at least review if my change so far makes sense?

Thanks

> 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