This is an automated email from the ASF dual-hosted git repository.
laskoviymishka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new 190395aa4 docs: update feature support and reference guides (#2684)
190395aa4 is described below
commit 190395aa4537692dda09c0b1b5b4a47505735b59
Author: kurtoskalac <[email protected]>
AuthorDate: Wed Nov 25 09:03:58 2026 +0100
docs: update feature support and reference guides (#2684)
Signed-off-by: Kurtorkalacs <[email protected]>
Co-authored-by: Kurtorkalacs
<[email protected]>
---
README.md | 62 +++++++++++++++++-----------
website/src/api.md | 77 ++++++++++++++++++++++++++++++++++
website/src/configuration.md | 58 +++++++++++++++++++++++++-
website/src/feature-status.md | 89 ++++++++++++++++++++++++++--------------
website/src/metrics-reporting.md | 4 ++
website/src/variant.md | 6 +++
6 files changed, 239 insertions(+), 57 deletions(-)
diff --git a/README.md b/README.md
index abfe77e17..ebe90193d 100644
--- a/README.md
+++ b/README.md
@@ -247,35 +247,49 @@ local scans.
### Catalog Support
-| Operation | REST | Hive | Glue | SQL | Hadoop |
-|:----------------------------|:----:|:----:|:------:|:----:|:------:|
-| Load Table | X | X | X | X | X |
-| List Tables | X | X | X | X | X |
-| Create Table | X | X | X | X | X |
-| Register Table | X | X | X | | |
-| Update Current Snapshot | X | X | X | X | X |
-| Create New Snapshot | X | X | X | X | X |
-| Rename Table | X | X | X | X | |
-| Drop Table | X | X | X | X | X |
-| Alter Table | X | X | X | X | X |
-| Check Table Exists | X | X | X | X | X |
-| Set Table Properties | X | X | X | X | X |
-| List Namespaces | X | X | X | X | X |
-| Create Namespace | X | X | X | X | X |
-| Check Namespace Exists | X | X | X | X | X |
-| Drop Namespace | X | X | X | X | X |
-| Update Namespace Properties | X | X | X | X | |
-| Create View | X | X | | X | |
-| Load View | X | X | | X | |
-| List View | X | X | | X | |
-| Drop View | X | X | | X | |
-| Rename View | X | | | | |
-| Check View Exists | X | X | | X | |
+| Operation | REST | Hive | Glue | SQL | Hadoop |
DynamoDB |
+|:----------------------------|:----:|:----:|:------:|:----:|:------:|:--------:|
+| Load Table | X | X | X | X | X | X
|
+| List Tables | X | X | X | X | X | X
|
+| Create Table | X | X | X | X | X | X
|
+| Register Table | X | X | X | | | X
|
+| Update Current Snapshot | X | X | X | X | X | X
|
+| Create New Snapshot | X | X | X | X | X | X
|
+| Rename Table | X | X | X | X | | X
|
+| Drop Table | X | X | X | X | X | X
|
+| Alter Table | X | X | X | X | X | X
|
+| Check Table Exists | X | X | X | X | X | X
|
+| Set Table Properties | X | X | X | X | X | X
|
+| List Namespaces | X | X | X | X | X | X
|
+| Create Namespace | X | X | X | X | X | X
|
+| Check Namespace Exists | X | X | X | X | X | X
|
+| Drop Namespace | X | X | X | X | X | X
|
+| Update Namespace Properties | X | X | X | X | | X
|
+| Create View | X | X | | X | |
|
+| Load View | X | X | | X | |
|
+| List View | X | X | | X | |
|
+| Drop View | X | X | | X | |
|
+| Rename View | X | | | X | |
|
+| Update View | X | X | | X | |
|
+| Check View Exists | X | X | | X | |
|
+
+REST operations depend on the server's available endpoints. SQL view operations
+require the V1 JDBC catalog schema. See the
+[configuration
guide](https://go.iceberg.apache.org/configuration.html#dynamodb-catalogdynamodb)
+for DynamoDB setup.
### Read/Write Data Support
* Data can currently be read as an Arrow Table or as a stream of Arrow record
batches.
+| Data file format | Reads | Writes |
+|:-----------------|:-----:|:------:|
+| Parquet | X | X |
+| Avro | X | |
+
+Avro reads whole files, with projection after decoding. Nullable unions
+contain `null` and one value type.
+
#### Supported Write Operations
As long as the FileSystem is supported and the Catalog supports altering
diff --git a/website/src/api.md b/website/src/api.md
index a579e065b..141e21630 100644
--- a/website/src/api.md
+++ b/website/src/api.md
@@ -191,6 +191,18 @@ renamed, err := cat.RenameTable(ctx,
`ListTables` returns an `iter.Seq2[table.Identifier, error]` that streams
results.
+Use `catalog.As[catalog.RegisterableCatalog](cat)` to discover table
+registration support. `RegisterTable(ctx, ident, metadataLocation)`
+registers a table from an existing metadata file and returns the table.
+
+For a REST table with catalog-vended storage credentials, discover
+`catalog.RefreshableCredentialCatalog` with `catalog.As`. If the server
+supports the credentials endpoint, `RefreshTableCredentials(ctx, tbl)`
+returns the table to use for subsequent operations. When building a table
+yourself with `table.New`, pass `table.WithSavedConfig` so its file I/O
+properties are available to the refresh. REST-loaded tables and views also
+expose catalog-provided labels through `Labels()`.
+
#### Inspecting metadata
```go
@@ -224,6 +236,10 @@ for mf, err := range tbl.AllManifests(ctx) {
`(t Table) Scan(opts ...ScanOption) *Scan` returns a scan that you can resolve
into Arrow data.
+Parquet and Avro data files are readable. Avro scan tasks must cover the
+whole file. The reader decodes the file before projecting columns, and
+supports nullable unions with `null` and one value type.
+
### Streaming record batches
```go
@@ -444,6 +460,11 @@ if err != nil { /* ... */ }
newTbl, err := txn.Commit(ctx)
```
+For bucket-partitioned Parquet files, provide each file's partition tuple
+with `WithAddDataFilesByPathPartitionValues`. Key the values by file path
+and partition field ID. Supply every non-void partition field, and make
+sure the values describe every row in the file.
+
`ReplaceDataFilesByPath(ctx, filesToDelete, filesToAdd, snapshotProps)`
performs an
**overwrite** of existing files. It is suitable when the logical table data
changes. `ReplaceDataFiles(ctx, filesToDelete, dataFilesToAdd, snapshotProps,
opts...)`
@@ -525,6 +546,12 @@ other conflicts can be retried under the normal commit
retry policy.
`Commit` retries a conflict (`ErrCommitFailed`) up to
`commit.retry.num-retries` times, 4 by default. See [Automatic
retry](./concurrent-writes.md#automatic-retry) for the `commit.retry.*` table
properties.
+`txn.SetLocation(location)` stages a new table base location in the same
+storage scheme and authority, including the bucket or container where
+applicable. Existing files keep their paths. New writes use the staged base
+and honor explicit write-path properties. Commit the transaction to publish
+the change.
+
## Schema and partition evolution
### Schema evolution
@@ -588,6 +615,9 @@ Replacing the default sort order affects future writes; it
does not rewrite exis
The Go writers currently support only top-level sort columns. A nested-field
order can be registered, as in Java, but a later append fails until the default
order is replaced.
+Use `SortOrder.Satisfies(required)` to compare sort metadata using Iceberg's
+transform ordering rules.
+
## Snapshots and refs
### Inspecting
@@ -693,6 +723,10 @@ fast-forwards to fail. Load with
`snapshot-loading-mode=all` instead.
Replacing by snapshot ID can also fail if the requested historical snapshot
was omitted. See [Concurrent Writes](./concurrent-writes.md).
+`tbl.RenameBranch(ctx, from, to)` renames a non-main branch to an unused
+name and preserves its snapshot and retention settings. Use
+`txn.RenameBranch(from, to)` to stage the rename alongside other updates.
+
### Expiration and rollback
```go
@@ -703,6 +737,9 @@ err := txn.ExpireSnapshots(/* options */)
err = txn.RollbackToSnapshot(targetSnapshotID)
```
+`txn.RollbackToTime(timestampMs)` selects the latest reachable ancestor
+strictly before the given Unix timestamp in milliseconds.
+
Tune retention with the `history.expire.min-snapshots-to-keep`,
`history.expire.max-snapshot-age-ms`, and `history.expire.max-ref-age-ms` table
properties (see [Configuration](./configuration.md)).
### Snapshot integrity audit (v1 and later)
@@ -778,6 +815,42 @@ history. Dropped partition source fields and changed
transform result types are
not supported. A concurrent change to the target branch, current schema, or
partition layout rejects the commit. Statistics do not create a new snapshot.
+### Puffin statistics
+
+`puffin.Writer.AddBlob` accepts `BlobMetadataInput.CompressionCodec` with
+`CompressionCodecLZ4` or `CompressionCodecZstd`. `puffin.Reader.ReadBlob`
+decodes the stored codec. Write deletion-vector blobs with an empty codec.
+
+`tbl.ComputeNDVs(ctx, snapshotID, columns...)` scans the selected snapshot and
+returns estimated distinct counts and serialized Theta sketches keyed by
+Iceberg field ID. Pass `0` for the current snapshot. Omit the column names to
+analyze all supported top-level primitive columns in the snapshot schema.
+Geometry, geography, and unknown types are skipped by default. Explicit column
+names must refer to supported top-level primitive columns. The estimates
+exclude null values and empty strings and binary values.
+
+Use `table/stats.NewSketch` to build a sketch directly from serialized Iceberg
+single values, and `NewUnion` to merge compatible sketches. The serialized
+sketch is the payload for an `apache-datasketches-theta-v1` Puffin blob.
+
+After writing a Puffin statistics file, pass its snapshot ID, path, sizes,
+and blob metadata to `txn.SetStatistics`. Commit to publish the reference.
+`txn.RemoveStatistics(snapshotID)` stages removal of the reference.
+
+### Delete-file maintenance
+
+- `RewritePositionDeleteFiles` compacts compatible v2 Parquet position-delete
+ files from the current partition spec that have no deleted-row payload.
+- `ConvertEqualityDeletesToDeletionVectors` rewrites live equality deletes
+ on a v3 table as file-specific deletion vectors.
+- `PlanDanglingDeleteFiles` identifies whole delete files that apply to no
+ data file in the target snapshot. `RemoveDanglingDeleteFiles` removes their
+ references on v2 and v3. The physical files remain available to older
+ snapshots that reference them.
+
+The table-level methods operate on `main`. Use the transaction variants to
+target another branch or combine changes, then commit the transaction.
+
### Orphan file cleanup
```go
@@ -916,6 +989,10 @@ keep filesystem configuration (`ioProps`) separate from
persisted view
properties (`metadataProps`). See
[FileIO configuration](./configuration.md#file-system-credentials).
+Discover view updates with `catalog.As[catalog.UpdatableViewCatalog](cat)`.
+`catalog.RollbackView(ctx, cat, ident, versionID)` selects a retained version
+on a catalog that supports both loading and updating views.
+
## Iceberg ↔ Arrow types
When iceberg-go converts an Iceberg schema to Arrow (e.g. for the scanner
output) or vice versa, the type mapping is:
diff --git a/website/src/configuration.md b/website/src/configuration.md
index 4d48c82c3..4466665f4 100644
--- a/website/src/configuration.md
+++ b/website/src/configuration.md
@@ -110,6 +110,21 @@ including zero or malformed values.
> until the `catalog/rest/sigv4` backend is blank-imported; the error names the
> import to add.
+#### Conditional table loads
+
+When a load returns an `ETag`, the REST catalog caches the response and sends
+`If-None-Match` on subsequent loads of the same table in the same snapshot
+loading mode. On a 304 response, it builds the table from the cached response.
+The expiry interval starts when the response is cached.
+
+| Property | Default | Meaning |
+| --- | --- | --- |
+| `rest-table-cache.max-entries` | 100 | Maximum cached table responses. Use 0
to disable the cache. |
+| `rest-table-cache.expire-after-write-ms` | 300000 | Time a cached response
can be reused, in milliseconds. |
+
+The default `User-Agent` has the form `iceberg-go/<version> (go <version>)`.
+Set `User-Agent` with `WithHeaders` to override it.
+
#### Authentication type
The `rest.auth.type` property selects how the client authenticates, as in
Iceberg
@@ -253,6 +268,10 @@ Source:
[`catalog/glue/options.go`](https://github.com/apache/iceberg-go/blob/ma
- `WithAWSProperties(props AWSProperties)` - catalog properties, such as
`glue.id` and the `s3.*` FileIO keys. `NewCatalog` ignores the `glue.region`,
endpoint, credential, and retry keys; only `catalog.Load` reads them.
- `WithIORegistry(registry *io.Registry)` - use a catalog-scoped FileIO
registry.
+For AWS Glue databases federated to Amazon S3 Tables, the service assigns the
+table location at creation. Omit the explicit location when creating these
+tables. The Glue catalog rejects rename requests for S3 Tables-managed tables.
+
### SQL (`catalog/sql`)
Pass `sqlcat.WithIORegistry(registry)` to `NewCatalog` to select isolated
FileIO:
@@ -267,6 +286,28 @@ cat, err := sqlcat.NewCatalog(ctx, "default", db,
sqlcat.SQLite, iceberg.Propert
Supported dialects: `sqlcat.Postgres`, `sqlcat.MySQL`, `sqlcat.SQLite`,
`sqlcat.MSSQL`, `sqlcat.Oracle` (`catalog/sql/sql.go:50`).
+SQL view operations require the V1 JDBC catalog schema. To migrate a legacy V0
+catalog, set `jdbc.schema-version=V1`. This one-way migration adds the
+`iceberg_type` column to the shared catalog table. Setting the property back
+to V0 does not reverse the migration.
+
+### DynamoDB (`catalog/dynamodb`)
+
+Blank-import `github.com/apache/iceberg-go/catalog/dynamodb` to register the
+backend, then use `type=dynamodb` with `catalog.Load`. The loader uses the AWS
+SDK default credential chain.
+
+| Property | Meaning |
+| --- | --- |
+| `warehouse` | Required default table storage location. |
+| `dynamodb.table-name` | Backing DynamoDB table, default `iceberg`. |
+| `dynamodb.endpoint` | Optional endpoint, including DynamoDB Local. |
+| `client.region` | AWS region override. |
+
+Use separate backing tables for separate logical catalogs. See the
+[DynamoDB catalog
guide](https://github.com/apache/iceberg-go/blob/main/catalog/dynamodb/README.md)
+for namespace rules and coordination with other Iceberg clients.
+
### Shared options on the base `catalog` package
Operations that create or update tables/views accept these
(`catalog/catalog.go`):
@@ -400,6 +441,19 @@ Tuning properties:
| `adls.protocol` (`io.ADLSProtocol`) | `http` or `https`. |
| `adls.auth.managed-identity.enabled` (`io.ADLSManagedIdentityEnabled`) | Set
to exactly `"true"` to use `ManagedIdentityCredential` directly, subject to the
precedence above. |
+## File encryption and key management
+
+`encryption.StandardEncryptionManager` exposes an explicit API for
+Iceberg-compatible AES-GCM file encryption. Callers handle encryption and
+decryption separately from table scans and writes. The key metadata returned
+by the manager contains the raw data key. Persist it only in a protected
+location, such as encrypted parent metadata.
+
+To use AWS KMS for key wrapping, blank-import
+`github.com/apache/iceberg-go/encryption/awskms` and pass `kms-type=aws` to
+`encryption.LoadKeyManagementClient(ctx, props)`. The provider uses the AWS
+SDK credential chain and accepts `client.region` and `kms.endpoint`.
+
## Environment variables
iceberg-go reads only a small set of environment variables directly. AWS / GCP
/ Azure credentials flow through the respective SDKs, not through
iceberg-go-defined env vars.
@@ -503,7 +557,7 @@ func init() {
}
```
-After registration, `catalog.Load(ctx, "default", iceberg.Properties{"type":
"mycatalog", ...})` will route to the factory. Custom catalogs must implement
`Close() error` to satisfy `catalog.Catalog`, and callers must close them when
finished. Built-in types: `rest`, `hive`, `glue`, `sql`, `hadoop`.
+After registration, `catalog.Load(ctx, "default", iceberg.Properties{"type":
"mycatalog", ...})` will route to the factory. Custom catalogs must implement
`Close() error` to satisfy `catalog.Catalog`, and callers must close them when
finished. Built-in types: `rest`, `hive`, `glue`, `sql`, `hadoop`, `dynamodb`.
`catalog.GetRegisteredCatalogs()` returns the current list;
`catalog.Unregister(catalogType)` removes one.
@@ -645,7 +699,7 @@ the writer hang.
Statistics settings apply to data files and use Iceberg field names, including
nested paths such as
`items.element`. Disabling statistics can reduce pruning and omit some Iceberg
file metrics; other
-metadata may still be recorded.
+metadata may still be recorded. Floating-point Iceberg file metrics can also
include NaN value counts.
Column compression keys use case-sensitive Iceberg leaf paths, such as
`items.element` or `attributes.value.name`. They apply to data files and use
diff --git a/website/src/feature-status.md b/website/src/feature-status.md
index 4243ef046..32943adc0 100644
--- a/website/src/feature-status.md
+++ b/website/src/feature-status.md
@@ -19,7 +19,10 @@
# Feature Status
-This page tracks what Apache Iceberg Go currently supports. The matrix is kept
in sync with the project
[`README.md`](https://github.com/apache/iceberg-go/blob/main/README.md); if you
spot a discrepancy, file an issue.
+This page tracks Apache Iceberg Go on `main` and mirrors the support tables in
+the project [README](https://github.com/apache/iceberg-go/blob/main/README.md).
+For released behavior, see the feature matrix in the corresponding Git tag,
+such as
[v0.7.0](https://github.com/apache/iceberg-go/blob/v0.7.0/website/src/feature-status.md).
## Spec format version coverage
@@ -27,7 +30,8 @@ Apache Iceberg Go reads and writes table format versions 1,
2, and 3. The maximu
### V1
-All V1 features are supported. V1 is the format-version baseline.
+V1 tables support Parquet reads and writes and Avro reads. See
+[data file formats](#read--write-data) for details.
### V2
@@ -39,7 +43,8 @@ All V1 features are supported. V1 is the format-version
baseline.
| Equality deletes | Supported (read + write). Write via
`Transaction.WriteEqualityDeletes`; row-level commits via
`Transaction.NewRowDelta`; delete-only CDC via
`Transaction.CommitEqualityDeletes` |
| Partition spec evolution | Supported |
| Sort order enforcement on write | Supported (PR
[#1157](https://github.com/apache/iceberg-go/pull/1157), closes
[#833](https://github.com/apache/iceberg-go/issues/833)) |
-| `ReplaceDataFilesByPath` using `OpReplace` | Pending
([#841](https://github.com/apache/iceberg-go/issues/841)) |
+| Path-based replace snapshots |
[`StageRewrittenDataFilesByPath`](./api.md#stage-externally-rewritten-parquet-files)
stages prewritten Parquet replacements for unpartitioned v1 and v2 tables.
Source files must have no applicable deletes. The caller preserves the rows and
physical row count and commits the transaction. |
+| Position-delete file compaction |
[`RewritePositionDeleteFiles`](./api.md#delete-file-maintenance) rewrites
compatible v2 Parquet position deletes. |
### V3
@@ -48,20 +53,31 @@ All V1 features are supported. V1 is the format-version
baseline.
| Nanosecond timestamps (`timestamp_ns`, `timestamptz_ns`) | Supported |
| Default values (`initial-default`, `write-default`) | Supported |
| Row lineage (`_row_id`, `_last_updated_sequence_number`) | Supported |
-| Encryption keys in metadata | Supported (metadata-level storage +
`EncryptionManager` interface; file-level envelope encryption not yet
implemented [PR #1620 in
review](https://github.com/apache/iceberg-go/pull/1620)) |
+| Encryption keys in metadata | Supported. See [file
encryption](#file-encryption-puffin-and-statistics) for file-level support. |
| Variant type, non-shredded | Supported (PR
[#932](https://github.com/apache/iceberg-go/pull/932); umbrella
[#929](https://github.com/apache/iceberg-go/issues/929)) |
| Variant type, shredded reader / writer | Supported (reader
[#1238](https://github.com/apache/iceberg-go/pull/1238), writer
[#1351](https://github.com/apache/iceberg-go/pull/1351)) |
| Variant predicate pushdown / field extract | Supported (PR
[#1607](https://github.com/apache/iceberg-go/pull/1607)) |
| Deletion vectors, read | Supported |
| Deletion vectors, write (unpartitioned) | Supported |
| Deletion vectors, write (partitioned) | Supported (PR
[#1151](https://github.com/apache/iceberg-go/pull/1151)) |
+| Convert equality deletes to deletion vectors |
[Supported](./api.md#delete-file-maintenance) on v3 tables. |
| Geometry / Geography types (schema) | Supported |
| Geometry: statistics and pruning | Supported |
| Geography: read, write, and schema | Supported (bounds/pruning intentionally
omitted for geodesic safety) |
| Geometry / Geography: nested-geo null counts | Supported (like other nested
fields, no bounds are written) |
| Multi-argument transforms | Infrastructure present; no concrete
implementations exercised yet |
| Statistics files (read / round-trip / register / remove) | Supported |
-| NDV (Theta-sketch) statistics computation | Roadmap
([#1929](https://github.com/apache/iceberg-go/issues/1929)) |
+
+## File encryption, Puffin, and statistics
+
+| Feature | Status |
+|:--------|:-------|
+| File envelope encryption | Available through the explicit
[`StandardEncryptionManager`
API](./configuration.md#file-encryption-and-key-management). Callers handle
encryption and decryption separately from table scans and writes. |
+| AWS KMS key wrapping | Available through the optional [AWS KMS
provider](./configuration.md#file-encryption-and-key-management). |
+| Puffin blob compression | LZ4 and Zstandard reads and writes. Deletion
vectors use uncompressed blobs. |
+| Partition statistics | [Computation](./api.md#partition-statistics-v1-v3)
for v1–v3 tables with a snapshot and at least one partition field in spec
history. |
+| Snapshot-wide distinct value counts |
[`Table.ComputeNDVs`](./api.md#puffin-statistics) estimates distinct counts and
builds Theta sketches for supported top-level primitive columns. |
+| Theta sketches | [Helpers](./api.md#puffin-statistics) to build, merge, and
read distinct-value sketches. |
## FileSystem support
@@ -90,37 +106,48 @@ S3, GCS, and Azure each require a blank import of their
backend package, for exa
## Catalog support
-| Operation | REST | Hive | Glue | SQL | Hadoop |
-|:----------------------------|:----:|:----:|:------:|:----:|:------:|
-| Load Table | X | X | X | X | X |
-| List Tables | X | X | X | X | X |
-| Create Table | X | X | X | X | X |
-| Register Table | X | X | X | | |
-| Update Current Snapshot | X | X | X | X | X |
-| Create New Snapshot | X | X | X | X | X |
-| Rename Table | X | X | X | X | |
-| Drop Table | X | X | X | X | X |
-| Alter Table | X | X | X | X | X |
-| Check Table Exists | X | X | X | X | X |
-| Set Table Properties | X | X | X | X | X |
-| List Namespaces | X | X | X | X | X |
-| Create Namespace | X | X | X | X | X |
-| Check Namespace Exists | X | X | X | X | X |
-| Drop Namespace | X | X | X | X | X |
-| Update Namespace Properties | X | X | X | X | |
-| Create View | X | X | | X | |
-| Load View | | X | | X | |
-| List View | X | X | | X | |
-| Drop View | X | X | | X | |
-| Rename View | X | | | | |
-| Check View Exists | X | X | | X | |
-
-A Hadoop catalog is also available - see
[`catalog/hadoop`](https://github.com/apache/iceberg-go/tree/main/catalog/hadoop).
+| Operation | REST | Hive | Glue | SQL | Hadoop |
DynamoDB |
+|:----------------------------|:----:|:----:|:------:|:----:|:------:|:--------:|
+| Load Table | X | X | X | X | X | X
|
+| List Tables | X | X | X | X | X | X
|
+| Create Table | X | X | X | X | X | X
|
+| Register Table | X | X | X | | | X
|
+| Update Current Snapshot | X | X | X | X | X | X
|
+| Create New Snapshot | X | X | X | X | X | X
|
+| Rename Table | X | X | X | X | | X
|
+| Drop Table | X | X | X | X | X | X
|
+| Alter Table | X | X | X | X | X | X
|
+| Check Table Exists | X | X | X | X | X | X
|
+| Set Table Properties | X | X | X | X | X | X
|
+| List Namespaces | X | X | X | X | X | X
|
+| Create Namespace | X | X | X | X | X | X
|
+| Check Namespace Exists | X | X | X | X | X | X
|
+| Drop Namespace | X | X | X | X | X | X
|
+| Update Namespace Properties | X | X | X | X | | X
|
+| Create View | X | X | | X | |
|
+| Load View | X | X | | X | |
|
+| List View | X | X | | X | |
|
+| Drop View | X | X | | X | |
|
+| Rename View | X | | | X | |
|
+| Update View | X | X | | X | |
|
+| Check View Exists | X | X | | X | |
|
+
+REST operations depend on the server's available endpoints. SQL view operations
+require the V1 JDBC catalog schema. See the
+[configuration guide](./configuration.md#dynamodb-catalogdynamodb) for
DynamoDB setup.
## Read / write data
Data can be read as an Arrow `Table` or as a stream of Arrow record batches
via `iter.Seq2`. See [API Reference](./api.md).
+| Data file format | Reads | Writes |
+|:-----------------|:-----:|:------:|
+| Parquet | X | X |
+| Avro | X | |
+
+Avro reads whole files, with projection after decoding. Nullable unions
+contain `null` and one value type.
+
### Supported write operations
As long as the FileSystem is supported and the Catalog supports altering the
table:
diff --git a/website/src/metrics-reporting.md b/website/src/metrics-reporting.md
index daa69cc7c..7c409f9a5 100644
--- a/website/src/metrics-reporting.md
+++ b/website/src/metrics-reporting.md
@@ -29,6 +29,10 @@ operators a standard way to collect them.
A pluggable
[`metrics.Reporter`](https://pkg.go.dev/github.com/apache/iceberg-go/metrics#Reporter)
is the sink that receives those reports.
+The `skipped-data-files` and `skipped-delete-files` counters track file entries
+rejected by partition or metrics filters in manifests the planner reads.
+The skipped-manifest counters track pruning at the earlier manifest level.
+
## Opt-in by default
Reporting is **strictly opt-in**. With no reporter configured the instrumented
diff --git a/website/src/variant.md b/website/src/variant.md
index 56cf52830..06df2ce01 100644
--- a/website/src/variant.md
+++ b/website/src/variant.md
@@ -105,6 +105,12 @@ Filter on a field inside a variant with `iceberg.Extract`,
which plugs into the
usual predicate builders. See [Row Filter
Syntax](./row-filter-syntax.md#variant-extraction)
for usage, supported target types, and caveats.
+## Casting a primitive variant literal
+
+`VariantLiteral.To(typ)` converts primitive variant values using the cast
+rules for the underlying literal. Null, object, array, and zero-value variants
+return `ErrBadCast` when cast to a non-variant type.
+
## Constraints
- A variant column cannot be a partition source or an identity-transform
source.