Review Board 1.7.22


Fix for SQOOP-932

Review Request #10018 - Created March 19, 2013 and updated

Venkat Ranganathan
Reviewers
Sqoop
jarcec
sqoop-trunk
Fixes for SQOOP-932
All unit tests pass - added more tests for testing this functionality
src/java/org/apache/sqoop/lib/DelimiterSet.java
Revision ef62ba0 New Change
[20] 43 lines
[+20] [+] public class DelimiterSet implements Cloneable {
44
      "sqoop.output.enclosed.by";
44
      "sqoop.output.enclosed.by";
45
  public static final String OUTPUT_ESCAPED_BY_KEY =
45
  public static final String OUTPUT_ESCAPED_BY_KEY =
46
      "sqoop.output.escaped.by";
46
      "sqoop.output.escaped.by";
47
  public static final String OUTPUT_ENCLOSE_REQUIRED_KEY =
47
  public static final String OUTPUT_ENCLOSE_REQUIRED_KEY =
48
      "sqoop.output.enclose.required";
48
      "sqoop.output.enclose.required";

    
   
49

   

    
   
50
  /**

    
   
51
   * Create the input variations for export instead of overloading them.

    
   
52
   */

    
   
53
  public static final String INPUT_FIELD_DELIM_KEY =

    
   
54
      "sqoop.input.field.delim";

    
   
55
  public static final String INPUT_RECORD_DELIM_KEY =

    
   
56
      "sqoop.input.record.delim";

    
   
57
  public static final String INPUT_ENCLOSED_BY_KEY =

    
   
58
      "sqoop.input.enclosed.by";

    
   
59
  public static final String INPUT_ESCAPED_BY_KEY =

    
   
60
      "sqoop.input.escaped.by";

    
   
61
  public static final String INPUT_ENCLOSE_REQUIRED_KEY =

    
   
62
      "sqoop.input.enclose.required";
49
  /**
63
  /**
50
   * Create a delimiter set with the default delimiters
64
   * Create a delimiter set with the default delimiters
51
   * (comma for fields, newline for records).
65
   * (comma for fields, newline for records).
52
   */
66
   */
53
  public DelimiterSet() {
67
  public DelimiterSet() {
[+20] [20] 175 lines
src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
Revision 0a1e605 New Change
 
src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
Revision 410a569 New Change
 
src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
Revision 9e6cab6 New Change
 
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
Revision 2a702d9 New Change
 
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
Revision 7ee6f70 New Change
 
src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java
Revision 938ffc5 New Change
 
src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java
Revision 50d27fe New Change
 
src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java
Revision 3482dd8 New Change
 
  1. src/java/org/apache/sqoop/lib/DelimiterSet.java: Loading...
  2. src/java/org/apache/sqoop/manager/DirectNetezzaManager.java: Loading...
  3. src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java: Loading...
  4. src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java: Loading...
  5. src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java: Loading...
  6. src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java: Loading...
  7. src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java: Loading...
  8. src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java: Loading...
  9. src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java: Loading...