HBASE-19304 KEEP_DELETED_CELLS should ignore case
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
e1133d5201
commit
0e289a851b
|
@ -45,4 +45,7 @@ public enum KeepDeletedCells {
|
|||
* time remove deleted cells after the TTL.
|
||||
*/
|
||||
TTL;
|
||||
public static KeepDeletedCells getValue(String val) {
|
||||
return valueOf(val.toUpperCase());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -898,7 +898,8 @@ public class ColumnFamilyDescriptorBuilder {
|
|||
|
||||
@Override
|
||||
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