{
  "data": {
    "debug": {
      "durationMs": 2,
      "extra": {
        "aggSql": "select null \"totalAmount\",\n       null \"lineCount\",\n       null \"quantity\",\n       count(*) \"total\"\nfrom (select\tSUM(t1.UnitPrice * t1.Quantity) \"totalAmount\",\tCOUNT(t1.InvoiceLineId) \"lineCount\",\tSUM(t1.Quantity) \"quantity\"\tfrom InvoiceLine t1\t left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <? ) tx",
        "params": [
          "2012-01-01 00:00:00",
          "2013-01-01 00:00:00"
        ],
        "sql": "select\tSUM(t1.UnitPrice * t1.Quantity) \"totalAmount\",\tCOUNT(t1.InvoiceLineId) \"lineCount\",\tSUM(t1.Quantity) \"quantity\"\tfrom InvoiceLine t1\t left join Invoice d1  on t1.InvoiceId=d1.InvoiceId where  1=1  and \td1.InvoiceDate >=?  and \td1.InvoiceDate <? "
      },
      "normalized": {
        "groupBy": [
          {
            "agg": "SUM",
            "field": "totalAmount"
          },
          {
            "agg": "COUNT",
            "field": "lineCount"
          },
          {
            "agg": "SUM",
            "field": "quantity"
          }
        ],
        "slice": [
          {
            "field": "invoice$invoiceDate",
            "op": "[)",
            "value": [
              "2012-01-01",
              "2013-01-01"
            ]
          }
        ]
      }
    },
    "hasNext": false,
    "items": [
      {
        "lineCount": 447,
        "quantity": 447,
        "totalAmount": 477.53
      }
    ],
    "pagination": {
      "hasMore": false,
      "limit": 2,
      "rangeDescription": "显示第 1-1 条",
      "returned": 1,
      "start": 0
    },
    "schema": {
      "columns": [
        {
          "name": "totalAmount"
        },
        {
          "name": "lineCount"
        },
        {
          "name": "quantity"
        }
      ],
      "summary": "，返回 1 条数据"
    },
    "total": 0
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
