Review Board 1.7.22


SQOOP-1211 Sqoop2: Derby repo: Sync maximal length of versions

Review Request #14518 - Created Oct. 7, 2013 and updated

Jarek Cecho
SQOOP-1211
Reviewers
Sqoop
sqoop-sqoop2
Increased size of the field SQ_CONNECTOR.SQC_VERSION to 64 and provided upgrade path.
Unit and integration tests seems to be passing.
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java
Revision 200293d842f5e040e0fa603371b597d414f225ad New Change
[20] 28 lines
[+20]
29
   * Expected version of the repository structures.
29
   * Expected version of the repository structures.
30
   *
30
   *
31
   * History:
31
   * History:
32
   * 0 - empty/unknown state
32
   * 0 - empty/unknown state
33
   * 1 - First two releases (1.99.1, 1.99.2)
33
   * 1 - First two releases (1.99.1, 1.99.2)
34
   * 2 - added SQ_SYSTEM, SQ_CONNECTION add column ENABLED,
34
   * 2 - Version 1.99.3

    
   
35
   *     added SQ_SYSTEM, SQ_CONNECTION add column ENABLED,
35
   *     SQ_CONNECTION add column CREATION_USER, SQ_CONNECTION add column UPDATE_USER,
36
   *     SQ_CONNECTION add column CREATION_USER, SQ_CONNECTION add column UPDATE_USER,
36
   *     SQ_JOB add column ENABLED, SQ_JOB add column CREATION_USER,
37
   *     SQ_JOB add column ENABLED, SQ_JOB add column CREATION_USER,
37
   *     SQ_JOB add column UPDATE_USER, SQ_SUBMISSION add column CREATION_USER,
38
   *     SQ_JOB add column UPDATE_USER, SQ_SUBMISSION add column CREATION_USER,
38
   *     SQ_SUBMISSION add column UPDATE_USER
39
   *     SQ_SUBMISSION add column UPDATE_USER
39
   * 3 - SQ_SUBMISSION modified SQS_EXTERNAL_ID varchar(50)
40
   * 3 - Version 1.99.4

    
   
41
   *     SQ_SUBMISSION modified SQS_EXTERNAL_ID varchar(50)

    
   
42
   *     Increased size of SQ_CONNECTOR.SQC_VERSION to 64
40
   */
43
   */
41
  public static final int VERSION = 3;
44
  public static final int VERSION = 3;
42

    
   
45

   
43
  private DerbyRepoConstants() {
46
  private DerbyRepoConstants() {
44
    // Disable explicit object creation
47
    // Disable explicit object creation
45
  }
48
  }
46
}
49
}
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
Revision 851e36cb50d894b9570e69021e4824bb4c39fff5 New Change
 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java
Revision 8016ad896855ffb1d7c7fc08d09c56d6713d3875 New Change
 
  1. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepoConstants.java: Loading...
  2. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java: Loading...
  3. repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaQuery.java: Loading...