Amazon Glue · JSON Structure

Glue Aggregate Structure

Specifies a transform that groups rows by chosen fields and computes the aggregated value by specified function.

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

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

Properties

Name Inputs Groups Aggs

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-structure.json",
  "name": "Aggregate",
  "description": "Specifies a transform that groups rows by chosen fields and computes the aggregated value by specified function.",
  "type": "object",
  "properties": {
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NodeName"
        },
        {
          "description": "The name of the transform node."
        }
      ]
    },
    "Inputs": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OneInput"
        },
        {
          "description": "Specifies the fields and rows to use as inputs for the aggregate transform."
        }
      ]
    },
    "Groups": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GlueStudioPathList"
        },
        {
          "description": "Specifies the fields to group by."
        }
      ]
    },
    "Aggs": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AggregateOperations"
        },
        {
          "description": "Specifies the aggregate functions to be performed on specified fields. "
        }
      ]
    }
  },
  "required": [
    "Name",
    "Inputs",
    "Groups",
    "Aggs"
  ]
}