Apache ORC · JSON Structure

Apache Orc Column Statistics Structure

ColumnStatistics schema from Apache ORC

Type: object Properties: 7
Big DataColumnar StorageCompressionFile FormatHadoopApacheOpen Source

ColumnStatistics is a JSON Structure definition published by Apache ORC, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

columnIndex columnName valueCount nullCount hasMinimum minimum maximum

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-orc/refs/heads/main/json-structure/apache-orc-column-statistics-structure.json",
  "description": "ColumnStatistics schema from Apache ORC",
  "type": "object",
  "properties": {
    "columnIndex": {
      "type": "int32",
      "example": 0
    },
    "columnName": {
      "type": "string",
      "example": "customer_id"
    },
    "valueCount": {
      "type": "int32",
      "example": 999500
    },
    "nullCount": {
      "type": "int32",
      "example": 500
    },
    "hasMinimum": {
      "type": "boolean",
      "example": true
    },
    "minimum": {
      "type": "string",
      "example": "1"
    },
    "maximum": {
      "type": "string",
      "example": "999999"
    }
  },
  "name": "ColumnStatistics"
}