You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
In this release, we now account for your column types when detecting PII and determine which replacement value to use.
Case 1: Accounting for column types when detecting PII
For example, let’s say you had a column with the name token, which was a bool postgres column. Previously, the example transform.ts config would end up with something like the following:
constconfig=()=>({public: {SomeTable: ({ row })=>({// Here, `token` is a `bool`, but we were generating a string uuid valuetoken: copycat.uuid(row.token)})}})
In this release, we would no longer identify token as PII, since it is a bool field, and so we also wouldn’t add an example transformation for it in your transform.ts.
Case 2: Accounting for column types when replacing values
Lets say you had a latitude column of type float. Previously, we would provide a string value as an example in your transform.ts, regardless of the fact that the column was float or not. In this release, we will only generate a string if the column is a string column (e.g. text), and and only generate a number if it is a number column (e.g. float):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In this release, we now account for your column types when detecting PII and determine which replacement value to use.
Case 1: Accounting for column types when detecting PII
For example, let’s say you had a column with the name
token
, which was abool
postgres column. Previously, the exampletransform.ts
config would end up with something like the following:In this release, we would no longer identify
token
as PII, since it is abool
field, and so we also wouldn’t add an example transformation for it in yourtransform.ts
.Case 2: Accounting for column types when replacing values
Lets say you had a
latitude
column of typefloat
. Previously, we would provide a string value as an example in yourtransform.ts
, regardless of the fact that the column wasfloat
or not. In this release, we will only generate a string if the column is a string column (e.g.text
), and and only generate a number if it is a number column (e.g.float
):Beta Was this translation helpful? Give feedback.
All reactions