Apache Iceberg · JSON Structure

Rest Catalog Open Api Set Current View Version Update Structure

SetCurrentViewVersionUpdate schema from Apache Iceberg REST Catalog API

Type: object Properties: 2 Required: 1
ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

SetCurrentViewVersionUpdate is a JSON Structure definition published by Apache Iceberg, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

action view-version-id

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-structure/rest-catalog-open-api-set-current-view-version-update-structure.json",
  "name": "SetCurrentViewVersionUpdate",
  "description": "SetCurrentViewVersionUpdate schema from Apache Iceberg REST Catalog API",
  "properties": {
    "action": {
      "type": "string",
      "const": "set-current-view-version"
    },
    "view-version-id": {
      "type": "integer",
      "description": "The view version id to set as current, or -1 to set last added view version id"
    }
  },
  "required": [
    "view-version-id"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/BaseUpdate"
    }
  ]
}