{
  "extensions": [
    {
      "extensionFunction": {
        "name": "sum:req_i32"
      }
    }
  ],
  "relations": [
    {
      "root": {
        "input": {
          "aggregate": {
            "common": {
              "direct": {}
            },
            "input": {
              "read": {
                "baseSchema": {
                  "names": [
                    "string_field#0",
                    "int_field#1"
                  ],
                  "struct": {
                    "types": [
                      {
                        "string": {
                          "nullability": "NULLABILITY_NULLABLE"
                        }
                      },
                      {
                        "i32": {
                          "nullability": "NULLABILITY_NULLABLE"
                        }
                      }
                    ]
                  }
                },
                "localFiles": {
                  "items": [
                    {
                      "uriFile": "iterator:0"
                    }
                  ]
                }
              }
            },
            "groupings": [
              {
                "groupingExpressions": [
                  {
                    "selection": {
                      "directReference": {
                        "structField": {}
                      }
                    }
                  }
                ]
              }
            ],
            "measures": [
              {
                "measure": {
                  "phase": "AGGREGATION_PHASE_INITIAL_TO_INTERMEDIATE",
                  "outputType": {
                    "i64": {
                      "nullability": "NULLABILITY_NULLABLE"
                    }
                  },
                  "arguments": [
                    {
                      "value": {
                        "selection": {
                          "directReference": {
                            "structField": {
                              "field": 1
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            ],
            "advancedExtension": {
              "optimization": {
                "@type": "type.googleapis.com/google.protobuf.StringValue",
                "value": "has_required_child_distribution_expressions=false\n"
              }
            }
          }
        },
        "names": [
          "string_field#0",
          "sum#31"
        ],
        "outputSchema": {
          "types": [
            {
              "string": {
                "nullability": "NULLABILITY_NULLABLE"
              }
            },
            {
              "i64": {
                "nullability": "NULLABILITY_NULLABLE"
              }
            }
          ],
          "nullability": "NULLABILITY_REQUIRED"
        }
      }
    }
  ]
}