{
  "total_bytes_written": 0,
  "total_bytes_read": 0,
  "rows_returned": 4096,
  "latency": 0.012991166,
  "result_set_size": 98304,
  "cumulative_rows_scanned": 1000000,
  "cpu_time": 0.012302978999999973,
  "extra_info": {},
  "system_peak_buffer_memory": 3473408,
  "blocked_thread_time": 0.0,
  "cumulative_cardinality": 2012288,
  "system_peak_temp_dir_size": 0,
  "query_name": "SELECT key % 4096 AS bucket, sum(id)::BIGINT AS total, count(*)::BIGINT AS n FROM events GROUP BY bucket ORDER BY bucket",
  "children": [
    {
      "total_bytes_written": 0,
      "result_set_size": 98304,
      "operator_timing": 0.000126751,
      "operator_rows_scanned": 0,
      "cumulative_rows_scanned": 1000000,
      "operator_cardinality": 4096,
      "operator_type": "ORDER_BY",
      "total_bytes_read": 0,
      "operator_name": "ORDER_BY",
      "cpu_time": 0.012302978999999973,
      "extra_info": {
        "Order By": "(\"input\".main.events.\"key\" % 4096) ASC"
      },
      "cumulative_cardinality": 2012288,
      "children": [
        {
          "cumulative_cardinality": 2008192,
          "extra_info": {
            "Projections": [
              "0",
              "total",
              "n"
            ],
            "Estimated Cardinality": "500000"
          },
          "operator_name": "PROJECTION",
          "cpu_time": 0.012176227999999973,
          "cumulative_rows_scanned": 1000000,
          "operator_rows_scanned": 0,
          "operator_timing": 6.459e-06,
          "result_set_size": 98304,
          "total_bytes_read": 0,
          "operator_type": "PROJECTION",
          "total_bytes_written": 0,
          "operator_cardinality": 4096,
          "children": [
            {
              "total_bytes_written": 0,
              "result_set_size": 131072,
              "operator_timing": 0.008886674999999986,
              "operator_rows_scanned": 0,
              "cumulative_rows_scanned": 1000000,
              "operator_cardinality": 4096,
              "operator_type": "HASH_GROUP_BY",
              "total_bytes_read": 0,
              "operator_name": "HASH_GROUP_BY",
              "cpu_time": 0.012169768999999973,
              "extra_info": {
                "Groups": "#0",
                "Aggregates": [
                  "sum_no_overflow(#1)",
                  "count_star()"
                ],
                "Estimated Cardinality": "500000"
              },
              "cumulative_cardinality": 2004096,
              "children": [
                {
                  "cumulative_cardinality": 2000000,
                  "extra_info": {
                    "Projections": [
                      "bucket",
                      "id"
                    ],
                    "Estimated Cardinality": "1000000"
                  },
                  "operator_name": "PROJECTION",
                  "cpu_time": 0.0032830939999999864,
                  "cumulative_rows_scanned": 1000000,
                  "operator_rows_scanned": 0,
                  "operator_timing": 0.0015952619999999955,
                  "result_set_size": 16000000,
                  "total_bytes_read": 0,
                  "operator_type": "PROJECTION",
                  "total_bytes_written": 0,
                  "operator_cardinality": 1000000,
                  "children": [
                    {
                      "total_bytes_written": 0,
                      "result_set_size": 16000000,
                      "operator_timing": 0.001687831999999991,
                      "operator_rows_scanned": 1000000,
                      "cumulative_rows_scanned": 1000000,
                      "operator_cardinality": 1000000,
                      "operator_type": "TABLE_SCAN",
                      "total_bytes_read": 0,
                      "operator_name": "SEQ_SCAN ",
                      "cpu_time": 0.001687831999999991,
                      "extra_info": {
                        "Table": "events",
                        "Type": "Sequential Scan",
                        "Projections": [
                          "key",
                          "id"
                        ],
                        "Estimated Cardinality": "1000000"
                      },
                      "cumulative_cardinality": 1000000,
                      "children": []
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
