Apache Iceberg · Schema

CountMap

CountMap schema from Apache Iceberg REST Catalog API

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
keys array List of integer column ids for each corresponding value
values array List of Long values, matched to 'keys' by index
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-count-map-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-schema/rest-catalog-open-api-count-map-schema.json",
  "title": "CountMap",
  "description": "CountMap schema from Apache Iceberg REST Catalog API",
  "type": "object",
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/IntegerTypeValue"
      },
      "description": "List of integer column ids for each corresponding value"
    },
    "values": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LongTypeValue"
      },
      "description": "List of Long values, matched to 'keys' by index"
    }
  },
  "example": {
    "keys": [
      1,
      2
    ],
    "values": [
      100,
      200
    ]
  }
}