[
https://issues.apache.org/jira/browse/SQOOP-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694369#comment-14694369
]
Hudson commented on SQOOP-2443:
-------------------------------
FAILURE: Integrated in Sqoop2 #870 (See
[https://builds.apache.org/job/Sqoop2/870/])
SQOOP-2443: Sqoop2: Generic JDBC: Properly detect compound primary keys in
GenericJdbcExecutor (abe:
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ec0544c6f5436abeb6880ec2929eb4190dd94069)
*
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcFromInitializer.java
*
common/src/main/java/org/apache/sqoop/error/code/GenericJdbcConnectorError.java
*
connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/GenericJdbcExecutorTest.java
* docs/src/site/sphinx/Connectors.rst
*
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExecutor.java
> Sqoop2: Generic JDBC: Properly detect compound primary keys in
> GenericJdbcExecutor
> ----------------------------------------------------------------------------------
>
> Key: SQOOP-2443
> URL: https://issues.apache.org/jira/browse/SQOOP-2443
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Fix For: 1.99.7
>
> Attachments: SQOOP-2443.patch, SQOOP-2443.patch
>
>
> [GenericJdbcExecutor.getPrimaryKey|https://github.com/apache/sqoop/blob/sqoop2/connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestToInitializer.java#L195]
> currently returns the first column of the primary key. This works well if
> the table have one single column as PK, but won't work correctly when the
> table have compound key. I would like to return entire PK here and let the
> user of this method decides what to do (report error or use one of the
> columns of the key).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)