From 259751b51d73831fd6222d98178091b037ef0d7a Mon Sep 17 00:00:00 2001 From: Thang Long Vu <107926660+longvu-db@users.noreply.github.com> Date: Fri, 13 Dec 2024 01:09:17 +0100 Subject: [PATCH] [Docs][3.3] Update documentation for Row Tracking to include Row Tracking Backfill introduced in Delta 3.3 (#3969) #### Which Delta project/connector is this regarding? - [ ] Spark - [ ] Standalone - [ ] Flink - [ ] Kernel - [X] Other (Docs) ## Description - Cherry-pick https://github.com/delta-io/delta/pull/3968 into Delta 3.3. ## How was this patch tested? N/A ## Does this PR introduce _any_ user-facing changes? N/A --- docs/source/delta-row-tracking.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/delta-row-tracking.md b/docs/source/delta-row-tracking.md index 4cd99118abb..356b37db867 100644 --- a/docs/source/delta-row-tracking.md +++ b/docs/source/delta-row-tracking.md @@ -11,7 +11,7 @@ Row tracking allows to track row-level lineage in a table. When - **Row commit versions** record the last version of the table in which the row was modified. A row is assigned a new version whenever it is modified using a `MERGE` or `UPDATE` statement. -.. note:: This feature is available in 3.2.0 and above. This feature is in experimental support mode with [_](#limitations). +.. note:: This feature is available in 3.2.0 and above. Enabling this feature on existing non-empty tables is available in 3.3.0 and above. ## Enable row tracking @@ -37,7 +37,7 @@ You must explicitly enable row tracking using one of the following methods: CREATE TABLE graduate CLONE student; ``` -- **Existing table**: Set the table property `'delta.enableRowTracking' = 'true'` in the `ALTER TABLE` command. +- **Existing table**: Available from Delta 3.3 and above, set the table property `'delta.enableRowTracking' = 'true'` in the `ALTER TABLE` command. ```sql ALTER TABLE grade SET TBLPROPERTIES ('delta.enableRowTracking' = 'true'); @@ -108,7 +108,6 @@ ALTER TABLE table_name SET TBLPROPERTIES (delta.enableRowTracking = false); The following limitations exist: - The row ids and row commit versions metadata fields cannot be accessed while reading the [Change data feed](/delta/delta-change-data-feed.md). -- Row Tracking can currently only be enabled when creating the table or when the table is empty. Enabling row tracking on a non-empty table is currently not supported. - Once the Row Tracking feature is added to the table it cannot be removed without recreating the table. .. replace:: Delta Lake