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

Hudson commented on SQOOP-2441:
-------------------------------

SUCCESS: Integrated in Sqoop2 #892 (See 
[https://builds.apache.org/job/Sqoop2/892/])
SQOOP-2441: Sqoop2: Generic JDBC: Drop support for specifying custom query when 
exporting data (abe: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=09a21649d4f8df8beef16c6a511b588db39403e4)
* 
connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestGenericJdbcConnectorUpgrader.java
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcToInitializer.java
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/configuration/ToJobConfig.java
* 
common/src/main/java/org/apache/sqoop/error/code/GenericJdbcConnectorError.java
* 
connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestToInitializer.java


> 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, 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