You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/05/17 16:34:56 UTC
[iceberg] branch master updated: Spec: Clarify manifest length is size in bytes, fix a typo (#4793)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 387e41468 Spec: Clarify manifest length is size in bytes, fix a typo (#4793)
387e41468 is described below
commit 387e414689c59d5a3849adec35823d7aecb209d7
Author: emkornfield <em...@gmail.com>
AuthorDate: Tue May 17 09:34:51 2022 -0700
Spec: Clarify manifest length is size in bytes, fix a typo (#4793)
---
format/spec.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/format/spec.md b/format/spec.md
index d8623c05f..8ed4d34c5 100644
--- a/format/spec.md
+++ b/format/spec.md
@@ -528,7 +528,7 @@ Manifest list files store `manifest_file`, a struct with the following fields:
| v1 | v2 | Field id, name | Type | Description |
| ---------- | ---------- |--------------------------------|---------------------------------------------|-------------|
| _required_ | _required_ | **`500 manifest_path`** | `string` | Location of the manifest file |
-| _required_ | _required_ | **`501 manifest_length`** | `long` | Length of the manifest file |
+| _required_ | _required_ | **`501 manifest_length`** | `long` | Length of the manifest file in bytes |
| _required_ | _required_ | **`502 partition_spec_id`** | `int` | ID of a partition spec used to write the manifest; must be listed in table metadata `partition-specs` |
| | _required_ | **`517 content`** | `int` with meaning: `0: data`, `1: deletes` | The type of files tracked by the manifest, either data or delete files; 0 for all v1 manifests |
| | _required_ | **`515 sequence_number`** | `long` | The sequence number when the manifest was added to the table; use 0 when reading v1 manifest lists |
@@ -1011,7 +1011,7 @@ Each partition field in the fields list is stored as an object. See the table fo
|Transform or Field|JSON representation|Example|
|--- |--- |--- |
|**`identity`**|`JSON string: "identity"`|`"identity"`|
-|**`bucket[N]`**|`JSON string: "bucket<N>]"`|`"bucket[16]"`|
+|**`bucket[N]`**|`JSON string: "bucket[<N>]"`|`"bucket[16]"`|
|**`truncate[W]`**|`JSON string: "truncate[<W>]"`|`"truncate[20]"`|
|**`year`**|`JSON string: "year"`|`"year"`|
|**`month`**|`JSON string: "month"`|`"month"`|