mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 06:21:11 +08:00
SQOOP-3487-Add PUT repeatedly when importing to HBase
This commit is contained in:
parent
a9f051c5af
commit
bf5dc3d738
@ -201,7 +201,6 @@ private List<Mutation> mutationRecordInHBase(Map<String, Object> record,
|
|||||||
put.addColumn(colFamilyBytes, getFieldNameBytes(colName),
|
put.addColumn(colFamilyBytes, getFieldNameBytes(colName),
|
||||||
Bytes.toBytes(toHBaseString(val)));
|
Bytes.toBytes(toHBaseString(val)));
|
||||||
}
|
}
|
||||||
mutationList.add(put);
|
|
||||||
} else {
|
} else {
|
||||||
switch (nullMode) {
|
switch (nullMode) {
|
||||||
case Delete:
|
case Delete:
|
||||||
|
Loading…
Reference in New Issue
Block a user