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

Sqoop QA bot commented on SQOOP-2441:
-------------------------------------

Testing file 
[SQOOP-2441.patch|https://issues.apache.org/jira/secure/attachment/12751172/SQOOP-2441.patch]
 against branch sqoop2 took 0:00:16.205813.

{color:red}Overall:{color} -1 due to an error(s), see details below:

{color:green}SUCCESS:{color} Clean was successful
{color:red}ERROR:{color} Failed to apply patch (exit code 1):
{code}error: patch failed: 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcToInitializer.java:64
error: 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcToInitializer.java:
 patch does not apply
{code}


Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1596/console].

This message is automatically generated.

> Sqoop2: Generic JDBC: Drop support for specifying custom query when exporting 
> data
> ----------------------------------------------------------------------------------
>
>                 Key: SQOOP-2441
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2441
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2441.patch
>
>
> In the early days of the development we've added new feature to the JDBC 
> connector that enabled user to specify custom query to insert the data - 
> similarly as user can specify custom query to select data. I see several 
> problems with the feature:
> * It's actually not working at all right now because we're not able to 
> [generate schema from the custom 
> query|https://github.com/apache/sqoop/blob/sqoop2/connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcToInitializer.java#L66].
> * It doesn't allow us to do any batching as we're doing in Sqoop 1 when we're 
> putting several rows into the same query which will hurt performance.
> * I did not see any real request for this feature from users
> Hence I would like to propose dropping this unfinished/non-working feature 
> all together. Any thoughts?



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

Reply via email to