You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. For partition fields with a transform with a single argument, only `source-id` is written. In case of a multi-argument transform, only `source-ids` is written.
1442
+
1439
1443
Supported partition transforms are listed below.
1440
1444
1441
1445
|Transform or Field|JSON representation|Example|
@@ -1470,12 +1474,14 @@ Each sort field in the fields list is stored as an object with the following pro
1470
1474
| V1 | V2 | V3 | Field | JSON representation | Example |
In v3 metadata, writers must use only `source-ids` because v3 requires reader support for multi-arg transforms.
1482
+
Notes:
1483
+
1484
+
1. For sort fields with a transform with a single argument, only `source-id` is written. In case of a multi-argument transform, only `source-ids` is written.
1479
1485
1480
1486
Older versions of the reference implementation can read tables with transforms unknown to it, ignoring them. But other implementations may break if they encounter unknown transforms. All v3 readers are required to read tables with unknown transforms, ignoring them.
1481
1487
@@ -1622,13 +1628,8 @@ All readers are required to read tables with unknown partition transforms, ignor
1622
1628
Writing v3 metadata:
1623
1629
1624
1630
* Partition Field and Sort Field JSON:
1625
-
*`source-ids` was added and is required
1626
-
*`source-id` is no longer required and should be omitted; always use `source-ids` instead
1627
-
1628
-
Reading v1 or v2 metadata for v3:
1629
-
1630
-
* Partition Field and Sort Field JSON:
1631
-
*`source-ids` should default to a single-value list of the value of `source-id`
1631
+
*`source-ids` was added and must be written in the case of a multi-argument transform.
1632
+
*`source-id` must be written in the case of single-argument transforms.
0 commit comments