[ 
https://issues.apache.org/jira/browse/SQOOP-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick White updated SQOOP-749:
-----------------------------

    Attachment: SQOOP-749.0.patch

I've attached a patch that adds a --call argument to the export tool, which can 
be used in place of a --table argument. I'm using a subclass of TestExport to 
test it, but my tests require HSQLDB version 2.x (as 1.8 doesn't have support 
for stored procedures), but I gather from SQOOP-571 that SQOOP can't upgrade to 
this version yet.
                
> Exports Using Stored Procedures (Functions)
> -------------------------------------------
>
>                 Key: SQOOP-749
>                 URL: https://issues.apache.org/jira/browse/SQOOP-749
>             Project: Sqoop
>          Issue Type: New Feature
>          Components: connectors, connectors/postgresql
>    Affects Versions: 1.4.2
>            Reporter: Nick White
>              Labels: features
>         Attachments: SQOOP-749.0.patch
>
>
> It'd be useful if you could use stored procedures (or functions) to insert 
> data - currently you can only use insert or update statements (or upsert / 
> merges, depending on the SqlManager you're using). This would help sqoop 
> adoption / migration into environments which have existing, SQL-based data 
> import workflows. Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to