Amazon Glue · JSON Structure

Glue Aggregate Operation Structure

Specifies the set of parameters needed to perform aggregation in the aggregate transform.

Type: object Properties: 2 Required: 2
AnalyticsData CatalogData IntegrationData PipelineETLServerless

AggregateOperation is a JSON Structure definition published by Amazon Glue, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

Column AggFunc

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/amazon-glue/refs/heads/main/json-structure/glue-aggregate-operation-structure.json",
  "name": "AggregateOperation",
  "description": "Specifies the set of parameters needed to perform aggregation in the aggregate transform.",
  "type": "object",
  "properties": {
    "Column": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EnclosedInStringProperties"
        },
        {
          "description": "Specifies the column on the data set on which the aggregation function will be applied."
        }
      ]
    },
    "AggFunc": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AggFunction"
        },
        {
          "description": "<p>Specifies the aggregation function to apply.</p> <p>Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop</p>"
        }
      ]
    }
  },
  "required": [
    "Column",
    "AggFunc"
  ]
}