{
  "data": {
    "debug": {
      "durationMs": 4,
      "extra": {
        "format": "grid",
        "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:599df6773e839afecc1b8e10c5afd791925db565cc547fd3a6373c2b62f0645e",
            "model": "ChinookSupportPivotQueryModel",
            "reason": "missing_authorization_signature",
            "shapeClass": "grid"
          },
          {
            "decision": "skipped",
            "event": "pivot.sql_pushdown.skipped",
            "model": "ChinookSupportPivotQueryModel",
            "reason": "noAxisHavingOrLimit"
          },
          {
            "axisDomainSelectionUsed": false,
            "cascadeGenerateUsed": false,
            "columnDomainSize": 2,
            "decision": "completed",
            "event": "pivot.execution_path",
            "memoryShapingUsed": true,
            "model": "ChinookSupportPivotQueryModel",
            "resultRows": 14,
            "rowDomainSize": 14,
            "sqlPushdownUsed": false
          }
        ],
        "pivotEngineContract": {
          "axes": [
            {
              "axis": "rows",
              "effective_offset": 0,
              "field": "support$id",
              "has_domain_slice": false,
              "has_having": false,
              "level": 0
            },
            {
              "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": false,
            "per_parent_window_used": false,
            "signed": false,
            "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": false,
            "memory_shaping_used": true,
            "sql_pushdown_used": false
          },
          "metrics": [
            "invoiceAmount",
            "invoiceCount"
          ],
          "name": "pivot_engine_capability_contract",
          "output_format": "grid",
          "required_capabilities": [
            "pivot_phase_pipeline",
            "memory_result_shaping"
          ],
          "row_fields": [
            "support$id",
            "billingCountry"
          ],
          "signed": true,
          "tree_axis_contract": {
            "active": false,
            "output_format": "grid",
            "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": [
      {
        "cells": [
          [
            1.98,
            1,
            null,
            null
          ],
          [
            3.96,
            1,
            null,
            null
          ],
          [
            16.86,
            1,
            null,
            null
          ],
          [
            null,
            null,
            1.98,
            1
          ],
          [
            null,
            null,
            5.94,
            1
          ],
          [
            1.98,
            1,
            null,
            null
          ],
          [
            null,
            null,
            8.91,
            1
          ],
          [
            null,
            null,
            1.98,
            1
          ],
          [
            10.91,
            1,
            null,
            null
          ],
          [
            null,
            null,
            13.86,
            1
          ],
          [
            5.94,
            1,
            null,
            null
          ],
          [
            0.99,
            1,
            null,
            null
          ],
          [
            null,
            null,
            3.96,
            1
          ],
          [
            null,
            null,
            0.99,
            1
          ]
        ],
        "columnHeaders": [
          {
            "metric": "invoiceAmount",
            "yearMonth": "2012-10"
          },
          {
            "metric": "invoiceCount",
            "yearMonth": "2012-10"
          },
          {
            "metric": "invoiceAmount",
            "yearMonth": "2012-11"
          },
          {
            "metric": "invoiceCount",
            "yearMonth": "2012-11"
          }
        ],
        "format": "grid",
        "rowHeaders": [
          {
            "billingCountry": "Brazil",
            "support$id": 3
          },
          {
            "billingCountry": "Canada",
            "support$id": 3
          },
          {
            "billingCountry": "France",
            "support$id": 3
          },
          {
            "billingCountry": "Germany",
            "support$id": 3
          },
          {
            "billingCountry": "Hungary",
            "support$id": 3
          },
          {
            "billingCountry": "India",
            "support$id": 3
          },
          {
            "billingCountry": "Brazil",
            "support$id": 4
          },
          {
            "billingCountry": "France",
            "support$id": 4
          },
          {
            "billingCountry": "Portugal",
            "support$id": 4
          },
          {
            "billingCountry": "USA",
            "support$id": 4
          },
          {
            "billingCountry": "Austria",
            "support$id": 5
          },
          {
            "billingCountry": "Chile",
            "support$id": 5
          },
          {
            "billingCountry": "France",
            "support$id": 5
          },
          {
            "billingCountry": "Germany",
            "support$id": 5
          }
        ]
      }
    ]
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
