Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated information #98

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/GDPR_RoE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## GDPR Right of Erasure (Delete)

Any European citizen has the right to ask for his data to be deleted. If the user data is spread across multiple tables, erasing all the user data can be a daunting task.
Any EU citizen/resident has the right to ask for his data to be deleted. If the user data is spread across multiple tables, erasing all the user data can be a daunting task.

If all your tables share the same column name for a user identifier, then the operation is quite straightforward. You can select all the tables that have that column, and run a delete statement on all tables at once.

Expand All @@ -16,6 +16,13 @@ dx.from_tables("*.*.*")\

## Vaccum

Note: You need to regularly [vacuum](https://docs.delta.io/latest/delta-utility.html#remove-files-no-longer-referenced-by-a-delta-table) all your delta tables to remove all traces of your deleted rows.
You need to regularly [vacuum](https://docs.delta.io/latest/delta-utility.html#remove-files-no-longer-referenced-by-a-delta-table) all your delta tables to remove all traces of your deleted rows.

Check out how to [vacuum all your tables at once with DiscoverX](Vacuum.md).

NOTE: Delta Lake latest features enable users to soft delete data. For example,

* Dropping columns with [column mapping](https://learn.microsoft.com/en-us/azure/databricks/delta/delta-column-mapping) enabled.
* Deleting rows with [deletion vectors](https://learn.microsoft.com/en-us/azure/databricks/delta/delta-column-mapping) enabled.

For detailed instructions on executing VACUUM with these features, please refer to the documentation.
Loading