adp.ingest.udf
Custom UDF’s to apply on columns of a dataframe.
The columns in this file can be used in the masking definition in the YAML file.
Functions
UDF to convert a string value to a valid python boolean value |
|
UDF to convert a string value to a valid python boolean value |
|
Format a string as a numberic value |
|
Format a string as a numberic value |
|
Create a timestamp using a file name |
|
Create a timestamp using a file name |
|
|
Retrieves a timestamp based on a path |
Retrieves a timestamp based on a path |
|
|
Replaces a binary by bin(0) |
|
Replaces a binary by bin(0) |
|
Replace a boolean by False |
|
Replace a boolean by False |
|
Scrambles a date column |
|
Scrambles a date column |
|
Replaces a double by -1337.1337 |
|
Replaces a double by -1337.1337 |
|
Udf to hide an email adres thomas@gmail.com -> t*****@g****.com |
|
Udf to hide an email adres thomas@gmail.com -> t*****@g****.com |
|
Replaces an integer by -1337 |
|
Replaces an integer by -1337 |
|
Replaces an LongType by -1337 |
|
Replaces an LongType by -1337 |
|
Scrambles a string value by replacing it by '*' |
|
Use a sha1 hash on a string value to hide it |
|
Use a sha1 hash on a string value to hide it |
|
Scrambles a string value by replacing it by '*' |
|
Scrables a timestamp column |
|
Scrables a timestamp column |