From 3570804be336172fc70a03e87d50436e0a828def Mon Sep 17 00:00:00 2001 From: Thang Long VU Date: Thu, 12 Dec 2024 14:18:12 +0100 Subject: [PATCH 1/3] Update wording --- docs/source/delta-row-tracking.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/delta-row-tracking.md b/docs/source/delta-row-tracking.md index 4cd99118abb..f8fc3f37975 100644 --- a/docs/source/delta-row-tracking.md +++ b/docs/source/delta-row-tracking.md @@ -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**: In 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 From 5e214d95a6f385d4f446cc01aa183b60fc13844f Mon Sep 17 00:00:00 2001 From: Thang Long VU Date: Thu, 12 Dec 2024 14:25:40 +0100 Subject: [PATCH 2/3] Use available from --- docs/source/delta-row-tracking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/delta-row-tracking.md b/docs/source/delta-row-tracking.md index f8fc3f37975..6d8666081a3 100644 --- a/docs/source/delta-row-tracking.md +++ b/docs/source/delta-row-tracking.md @@ -37,7 +37,7 @@ You must explicitly enable row tracking using one of the following methods: CREATE TABLE graduate CLONE student; ``` -- **Existing table**: In Delta 3.3 and above, 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'); From d3c47c5b4e1691c62a9c93ac597a419955534e5a Mon Sep 17 00:00:00 2001 From: Thang Long VU Date: Thu, 12 Dec 2024 14:50:53 +0100 Subject: [PATCH 3/3] Remove limitation mode --- docs/source/delta-row-tracking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/delta-row-tracking.md b/docs/source/delta-row-tracking.md index 6d8666081a3..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