Hi Team, Can I override the field value to blank i...
# general
m
Hi Team, Can I override the field value to blank in ingestion transformation?
m
Using groovy, yes. What’s the reason for doing that?
m
I want to temporarily stop ingesting some fields. I tried groovy with like this
Copy code
{
          "columnName": "<column>",
          "transformFunction": "Groovy({''})"
        },
but it didn't work, the values are still intact.
m
Why do you want to stop ingesting? Also empty value doesn’t mean ingestion stopped for them
m
Some PII fields need to be removed, There is no way to remove it from a live table. So until we find a suitable time and way to recreate the table. We just want to omit the data for these fields.
m
You can use one way hash functions (check docs) to anonymize those
m
All the usages have already been modified, we are specifically targeting to remove or omit those fields, is there a way ?
m
Groovy is the way, will need to check why it doesn’t work for you. It might be that it is deemed backward incompatible change and didn’t take effect (call get on it and see)