Skip to content

Commit c64c4b2

Browse files
authored
Docs: Fix minor typos in the view spec (#6214)
1 parent 4b23ecb commit c64c4b2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

format/view-spec.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ Each compute engine stores the metadata of the view in its proprietary format in
3232
## Goals
3333

3434
* 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.
3835

3936
## Overview
4037

@@ -61,10 +58,10 @@ The view version metadata file has the following fields:
6158
| Required/Optional | Field Name | Description |
6259
|-------------------|------------|-------------|
6360
| 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. |
6562
| Required | current-version-id | Current version of the view. Set to ‘1’ when the view is first created. |
6663
| 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). |
6865
| 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. |
6966
| Optional | schemas | A list of schemas, the same as the ‘schemas’ field from Iceberg table spec. |
7067
| 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
10299

103100
Each representation is stored as an object with only one common field "type".
104101
The rest of the fields are interpreted based on the type.
105-
There is only one type of representation defined in the spec.
106102

107103
##### Original View Definition in SQL
108104

0 commit comments

Comments
 (0)