QuestionQ249

VerifiedEnsuring Data Security and Compliance

All records from an Apache Kafka producer are ingested into one Delta Lake table with this schema:

key BINARY, value BINARY, topic STRING, partition LONG, offset LONG, timestamp LONG

There are 5 distinct topics being ingested. Only the registration topic includes Personally Identifiable Information (PII). The company wants to restrict access to PII. It also wants to retain records containing PII in this table for only 14 days after their initial ingestion. However, it wants to retain non-PII records indefinitely.

Which solution meets these requirements?

Explanation

A Delta Lake partition consists of rows sharing a value in a defined partitioning column. Partitioning on topic places the registration records in a distinct partition from the four non-PII topics. Access controls and scheduled deletion can therefore target only the registration partition, preserving the other partitions indefinitely.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!