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
Copy file name to clipboardExpand all lines: format/view-spec.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,6 @@ Each compute engine stores the metadata of the view in its proprietary format in
32
32
## Goals
33
33
34
34
* A common metadata format for view metadata, similar to how Iceberg supports a common table format for tables.
35
-
* The view metadata format specification
36
-
* Includes storage format as well as APIs to write/read the metadata.
37
-
* Supports versioning of views to track how a view evolved over time.
38
35
39
36
## Overview
40
37
@@ -61,10 +58,10 @@ The view version metadata file has the following fields:
61
58
| Required/Optional | Field Name | Description |
62
59
|-------------------|------------|-------------|
63
60
| Required | format-version | An integer version number for the view format. Currently, this must be 1. Implementations must throw an exception if the view's version is higher than the supported version. |
64
-
| Required | location | The view's base location. This is used to determine where to store manifest files and view metadata files. |
61
+
| Required | location | The view's base location. This is used to determine where to store view metadata files. |
65
62
| Required | current-version-id | Current version of the view. Set to ‘1’ when the view is first created. |
66
63
| Optional | properties | A string to string map of view properties. This is used for metadata such as "comment" and for settings that affect view maintenance. This is not intended to be used for arbitrary metadata. |
67
-
| Required | versions | An array of structs describing the last known versions of the view. Controlled by the table property: “version.history.num-entries”. See section [Versions](#versions). |
64
+
| Required | versions | An array of structs describing the known versions of the view. The number of versions to retain is controlled by the table property: “version.history.num-entries”. See section [Versions](#versions). |
68
65
| Required | version-log | A list of timestamp and version ID pairs that encodes changes to the current version for the view. Each time the current-version-id is changed, a new entry should be added with the last-updated-ms and the new current-version-id. |
69
66
| Optional | schemas | A list of schemas, the same as the ‘schemas’ field from Iceberg table spec. |
70
67
| Optional | current-schema-id | ID of the current schema of the view |
@@ -102,7 +99,6 @@ Field “summary” is a string map with the following keys. Only `operation` is
102
99
103
100
Each representation is stored as an object with only one common field "type".
104
101
The rest of the fields are interpreted based on the type.
105
-
There is only one type of representation defined in the spec.
0 commit comments