HBASE-19304 KEEP_DELETED_CELLS should ignore case
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
c978f8ab23
commit
13209bce06
|
@ -45,4 +45,7 @@ public enum KeepDeletedCells {
|
||||||
* time remove deleted cells after the TTL.
|
* time remove deleted cells after the TTL.
|
||||||
*/
|
*/
|
||||||
TTL;
|
TTL;
|
||||||
|
public static KeepDeletedCells getValue(String val) {
|
||||||
|
return valueOf(val.toUpperCase());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -898,7 +898,8 @@ public class ColumnFamilyDescriptorBuilder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KeepDeletedCells getKeepDeletedCells() {
|
public KeepDeletedCells getKeepDeletedCells() {
|
||||||
return getStringOrDefault(KEEP_DELETED_CELLS_BYTES, KeepDeletedCells::valueOf, DEFAULT_KEEP_DELETED);
|
return getStringOrDefault(KEEP_DELETED_CELLS_BYTES,
|
||||||
|
KeepDeletedCells::getValue, DEFAULT_KEEP_DELETED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue