Re: How is data desensitization (example: select bank_no from users)?

2017-08-24 Thread Akhil Das
Usually analysts will not have access to data stored in the PCI Zone, you could write the data out to a table for the analysts by masking the sensitive information. Eg: > val mask_udf = udf((info: String) => info.patch(0, "*" * 12, 7)) > val df = sc.parallelize(Seq(("user1",

How is data desensitization (example: select bank_no from users)?

2017-08-19 Thread 李斌松
For example, the user's bank card number cannot be viewed by an analyst and replaced by an asterisk. How do you do that in spark?