sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2242) Sqoop2: Add support for full table names into our DatabaseProvider infrastructure
Date Fri, 20 Mar 2015 02:48:38 GMT

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

Hudson commented on SQOOP-2242:
-------------------------------

SUCCESS: Integrated in Sqoop2-hadoop200 #795 (See [https://builds.apache.org/job/Sqoop2-hadoop200/795/])
SQOOP-2242: Sqoop2: Add support for full table names into our DatabaseProvider infrastructure
(abe: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=756a3c17e20c109e355f386e330985f1d4c695b5)
* test/src/test/java/org/apache/sqoop/integration/connector/kite/FromRDBMSToKiteTest.java
* repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestDriverHandling.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/AllTypesTest.java
* test/src/main/java/org/apache/sqoop/test/data/Cities.java
* test/src/test/java/org/apache/sqoop/integration/server/SubmissionWithDisabledModelObjectsTest.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/FromHDFSToRDBMSTest.java
* common-test/src/main/java/org/apache/sqoop/common/test/db/DatabaseProvider.java
* repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestConnectorHandling.java
* test/src/test/java/org/apache/sqoop/integration/connector/hdfs/OutputDirectoryTest.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/FromRDBMSToHDFSTest.java
* common-test/src/main/java/org/apache/sqoop/common/test/asserts/ProviderAsserts.java
* common-test/src/main/java/org/apache/sqoop/common/test/db/TableName.java
* repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestSubmissionHandling.java
* test/src/test/java/org/apache/sqoop/integration/connector/kafka/FromRDBMSToKafkaTest.java
* test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
* repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestLinkHandling.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/PartitionerTest.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/IncrementalReadTest.java
* test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/TableStagedRDBMSTest.java
* test/src/test/java/org/apache/sqoop/integration/connector/hdfs/AppendModeTest.java
* test/src/main/java/org/apache/sqoop/test/data/DataSet.java
* test/src/main/java/org/apache/sqoop/test/data/ShortStories.java
* test/src/main/java/org/apache/sqoop/test/data/UbuntuReleases.java
* repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestJobHandling.java


> Sqoop2: Add support for full table names into our DatabaseProvider infrastructure
> ---------------------------------------------------------------------------------
>
>                 Key: SQOOP-2242
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2242
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.5
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.6
>
>         Attachments: SQOOP-2242.patch
>
>
> Currently our {{DatabaseProviders}} have various methods that accepts String as a table
name. This imposes a problem as when we need to add schema name, we need to create additional
set of methods which is unfortunate. It's also a bit of a problem because we're heavily using
variable length arguments when we can easily get to ambiguous method calls.
> Hence I would like to propose introducing a {{TableName}} class that will encode all
that is necessary to describe table names - table name itself and then optional parts such
as schema or database name.



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

Mime
View raw message