sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suraj Nayak <snay...@gmail.com>
Subject Review Request 56914: SQOOP-3138 - Netezza Direct Import does not support --columns options
Date Wed, 22 Feb 2017 05:12:01 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Sqoop.

Repository: sqoop-trunk


Netezza Direct import Mapper is not sensitive to columns option. The parameters passed to
--columns C1,C2,C3,C4 are ignored by NetezzaExternalTableImportMapper.
NetezzaExternalTableImportMapper on line 83 is based of output field names instead of input
field names.
Even when -D mapreduce.jdbc.output.field.names=C1,C2,C3,C4 is set, another bug in NetezzaExternalTableImportMapper
@ line 128 duplicates the first column. This is due to the for loop initialization bug where
variable i should be initialized to 1 instead of 0.


  src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java 2efea53

Diff: https://reviews.apache.org/r/56914/diff/


Manually ran ant test. All test cases passed. Build successful.


Suraj Nayak

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message