Can custom dbt transformations be used to hash dat...
# replication-troubleshooting
l
Can custom dbt transformations be used to hash data from a specific connector so that PII is never exposed in the destination? Any examples of this out there? E.g. if I want to hash PII on a stream, I am thinking I could create a separate github dbt repo that runs hashing on target columns, and hashes them before they are loaded into the destination table. Though I imagine there may still be PII exposed in the tmp tables that Airbyte uses for staging the data.
🙏 1
n
Hi, Luke! Could you specify what Pll is? And you are correct, all the data will end up in the raw tables and will be exposed , unfortunately.
l
personally identifiable information (PII)
We can use other mechanisms to hide data like data masking or hashing fields, but for example each time the stream gets updated by airbyte, we'd need to rehash everything. Unless of course we do it at runtime with a custom transformation
But not sure if that's possible?
n
I don't think that's possible, all transformations are done after moving the data into raw tables.
👍 1