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

Jarek Jarcec Cecho commented on SQOOP-1622:
-------------------------------------------

The latest patch doesn't seem to be requesting to have one single reducer, so 
I'm wondering how it solves the problem that  moving data from staging table(s) 
to the final table will run in single transaction [~iwasakims]?

> Copying from staging table should be in single transaction for pg_bulkload 
> connector
> ------------------------------------------------------------------------------------
>
>                 Key: SQOOP-1622
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1622
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors/postgresql
>    Affects Versions: 1.4.5
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: SQOOP-1622.2.patch
>
>
> PGBulkloadExportReducer#reduce may be called per map task because the map 
> output key is unique ID of map task. Each reduce tasks should do copying from 
> staging table in single transaction.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to