Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
None
-
None
Description
If partial matching is used with the masking filter, the value key is ignored even if the length would match. For instance, with the following rules
{
|
"rules": [
|
{
|
"replace": {
|
"column": "ssn",
|
"match": "....$"
|
},
|
"with": {
|
"value": "YYYY"
|
}
|
}
|
]
|
}
|
we'll have
> select * from person;
|
+-------+-------------+
|
| name | ssn |
|
+-------+-------------+
|
| Bob | 435-22-XXXX |
|
| Alice | 721-07-XXXX |
|
+-------+-------------+
|
even though the length of the matched part is the same as the length of the value of value,