Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Iceberg tables support the following types:
| **`geometry(C)`** | Geospatial features with CRS parameter | Linear edge-interpolation; added in v3 |
| **`geography(C, A)`** | Geospatial features with CRS and edge algorithm | Non-linear edge-interpolation; added in v3 |
| **`unknown`** | Placeholder type for undetermined columns | Must be optional; added in v3 |
| **`vector(E, D)`** | D-dimensional vector of finite numeric values with element type E | Added in v4 |
| **`struct<...>`** | A record with named fields of any data type | |
| **`list<E>`** | A list with elements of any data type | |
| **`map<K, V>`** | A map with keys and values of any data type | |
Expand Down
2 changes: 1 addition & 1 deletion format/expressions-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Note that `year`, `month`, and `hour` transforms produce ordinal values and not

| Parameterized function name | Description | Source types | Result type |
|-----------------------------|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------|-------------|
| `bucket(N, value)` | Hash of value, mod `N` (see [table spec details][bucket-ref]) | Any primitive except for `geometry`, `geography`, `boolean`, `float`, or `double` | `int` |
| `bucket(N, value)` | Hash of value, mod `N` (see [table spec details][bucket-ref]) | `int`, `long`, `decimal`, `date`, `time`, `timestamp`, `timestamptz`, `timestamp_ns`, `timestamptz_ns`, `string`, `uuid`, `fixed`, `binary` | `int` |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: maybe we should just make a list somewhere of "simple types" (new term) and then re-use that everywhere. We can do that in a followup though

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed for a follow up to avoid debating for better terms than "simple types" in this PR :)

| `truncate(W, value)` | Value truncated to width `W` (see [table spec details][truncate-ref]) | `int`, `long`, `decimal`, `string`, `binary` | Source type |

[bucket-ref]: spec.md#bucket-transform-details
Expand Down
Loading
Loading