[
https://issues.apache.org/jira/browse/SQOOP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703145#comment-14703145
]
Jarek Jarcec Cecho commented on SQOOP-2441:
-------------------------------------------
I think that the upgrade issue might be relevant, I'll investigate it.
> 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)