Hacker News new | ask | show | jobs
by fragmede 26 days ago
> PII is opt-in per session. By default, Trino redacts sensitive columns before they ever hit your screen. If you have a legitimate need for raw PII (e.g., fraud investigation), you flip the bit on the session, your permissions are checked, and the redaction is lifted. The flip and every query is logged.

That's an interesting thing to say. Something inside me says log all queries so that someone can come in later and figure out that hey, 30% of queries in Q1 involve the Foo system and it is slow/expensive, and then go and optimize the Foo system and save the company specific amounts of time/money.