{
  "data": {
    "debug": {
      "durationMs": 17,
      "extra": {
        "format": "flat",
        "pipeline": "pivot",
        "pivotDiagnostics": [
          {
            "bindingCount": 1,
            "decision": "complete",
            "event": "pivot.cache.identity",
            "identityHash": "d4046fbd5c5fff10ba3bc5a9d4062d3fd827cd22461916938dabe1b34036bf3f",
            "manualTokenPresent": false,
            "model": "ChinookSupportPivotQueryModel",
            "status": "complete",
            "supplementaryProviderFailed": false
          },
          {
            "decision": "refused",
            "eligibilityStage": "E1a",
            "event": "pivot.cache.refused",
            "keyHash": "v3:8964344d909a86b5eaba46ba161f55afdb9dc6050747985c940fe6e9e1cf387a",
            "model": "ChinookSupportPivotQueryModel",
            "reason": "cascade_shape",
            "shapeClass": "cascade"
          },
          {
            "decision": "attempted",
            "event": "pivot.sql_pushdown.attempted",
            "model": "ChinookSupportPivotQueryModel"
          },
          {
            "decision": "used",
            "durationMs": 1,
            "event": "pivot.sql_pushdown.succeeded",
            "model": "ChinookSupportPivotQueryModel",
            "rowCount": 10
          },
          {
            "axisDomainSelectionUsed": false,
            "cascadeGenerateUsed": true,
            "columnDomainSize": 2,
            "decision": "completed",
            "event": "pivot.execution_path",
            "memoryShapingUsed": true,
            "model": "ChinookSupportPivotQueryModel",
            "resultRows": 10,
            "rowDomainSize": 10,
            "sqlPushdownUsed": true
          }
        ],
        "pivotEngineContract": {
          "axes": [
            {
              "axis": "rows",
              "effective_offset": 0,
              "field": "support$id",
              "has_domain_slice": false,
              "has_having": false,
              "level": 0,
              "limit": 2,
              "order_by": [
                "-invoiceAmount"
              ]
            },
            {
              "axis": "rows",
              "effective_offset": 0,
              "field": "billingCountry",
              "has_domain_slice": false,
              "has_having": false,
              "level": 1
            },
            {
              "axis": "columns",
              "effective_offset": 0,
              "field": "yearMonth",
              "has_domain_slice": false,
              "has_having": false,
              "level": 0
            }
          ],
          "column_fields": [
            "yearMonth"
          ],
          "drilldown_contract": {
            "axis_domain_selection_used": false,
            "cascade_generate_used": true,
            "per_parent_window_used": false,
            "signed": true,
            "supported_shapes": [
              "single_level_axis_domainSlice",
              "single_level_axis_start_offset_limit",
              "multi_level_rows_child_start_offset_limit",
              "rows_two_level_cascade_topn_c2_v1"
            ],
            "unsigned_shapes": [
              "domain_tree_cursor",
              "interactive_expand_collapse_state",
              "multi_level_domainSlice",
              "columns_multi_level_start_offset",
              "tree_axis_domainSlice_start_offset"
            ]
          },
          "execution_path": {
            "axis_domain_selection_used": false,
            "cascade_generate_used": true,
            "memory_shaping_used": true,
            "sql_pushdown_used": true
          },
          "metrics": [
            "invoiceAmount",
            "invoiceCount"
          ],
          "name": "pivot_engine_capability_contract",
          "output_format": "flat",
          "required_capabilities": [
            "pivot_phase_pipeline",
            "memory_result_shaping",
            "rows_two_level_cascade_generate_c2_v1"
          ],
          "row_fields": [
            "support$id",
            "billingCountry"
          ],
          "signed": true,
          "tree_axis_contract": {
            "active": false,
            "output_format": "flat",
            "output_format_required": "tree",
            "signed": false,
            "supported_scope": "rows_axis_parent_child_tree_only",
            "unsupported_combinations": [
              "columns_axis_tree",
              "output_format_not_tree",
              "crossjoin",
              "domainSlice_start_offset",
              "baselineRatio",
              "cascade_generate"
            ]
          },
          "version": "v1"
        }
      }
    },
    "items": [
      {
        "billingCountry": "Brazil",
        "invoiceAmount": 8.91,
        "invoiceCount": 1,
        "support$id": 4,
        "yearMonth": "2012-11"
      },
      {
        "billingCountry": "France",
        "invoiceAmount": 1.98,
        "invoiceCount": 1,
        "support$id": 4,
        "yearMonth": "2012-11"
      },
      {
        "billingCountry": "Portugal",
        "invoiceAmount": 10.91,
        "invoiceCount": 1,
        "support$id": 4,
        "yearMonth": "2012-10"
      },
      {
        "billingCountry": "USA",
        "invoiceAmount": 13.86,
        "invoiceCount": 1,
        "support$id": 4,
        "yearMonth": "2012-11"
      },
      {
        "billingCountry": "Brazil",
        "invoiceAmount": 1.98,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-10"
      },
      {
        "billingCountry": "Canada",
        "invoiceAmount": 3.96,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-10"
      },
      {
        "billingCountry": "France",
        "invoiceAmount": 16.86,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-10"
      },
      {
        "billingCountry": "Germany",
        "invoiceAmount": 1.98,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-11"
      },
      {
        "billingCountry": "Hungary",
        "invoiceAmount": 5.94,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-11"
      },
      {
        "billingCountry": "India",
        "invoiceAmount": 1.98,
        "invoiceCount": 1,
        "support$id": 3,
        "yearMonth": "2012-10"
      }
    ]
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
