Skip to content
HALOWERK

Formatwerk

column rowgroup predicate pruning

Return row-group pruning decisions.

POST https://format.halowerk.com/v1/column-rowgroup-predicate-pruning

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
groupsarrayYes
predicateobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          },
          "rows": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "nulls": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "lower": {
            "type": [
              "number",
              "null"
            ],
            "minimum": -1000000000000,
            "maximum": 1000000000000
          },
          "upper": {
            "type": [
              "number",
              "null"
            ],
            "minimum": -1000000000000,
            "maximum": 1000000000000
          }
        },
        "required": [
          "id",
          "rows",
          "nulls",
          "lower",
          "upper"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    },
    "predicate": {
      "type": "object",
      "properties": {
        "op": {
          "enum": [
            "eq",
            "lt",
            "lte",
            "gt",
            "gte",
            "between",
            "is_null",
            "is_not_null"
          ]
        },
        "value": {
          "type": [
            "number",
            "null"
          ],
          "minimum": -1000000000000,
          "maximum": 1000000000000
        },
        "upper": {
          "type": [
            "number",
            "null"
          ],
          "minimum": -1000000000000,
          "maximum": 1000000000000
        }
      },
      "required": [
        "op",
        "value"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "groups",
    "predicate"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "groups": [
    {
      "id": "g1",
      "rows": 100,
      "nulls": 0,
      "lower": 1,
      "upper": 10
    }
  ],
  "predicate": {
    "op": "gt",
    "value": 20
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’