ClickHouse/tests/queries/0_stateless/00313_const_totals_extremes.reference
2023-03-20 19:42:11 +01:00

155 lines
1.4 KiB
Plaintext

1 1
1 1
1 1
1 1
{
"meta":
[
{
"name": "k",
"type": "UInt64"
},
{
"name": "count()",
"type": "UInt64"
}
],
"data":
[
{
"k": "1234567890123",
"count()": "1"
}
],
"totals":
{
"k": "1234567890123",
"count()": "1"
},
"extremes":
{
"min":
{
"k": "1234567890123",
"count()": "1"
},
"max":
{
"k": "1234567890123",
"count()": "1"
}
},
"rows": 1
}
{
"meta":
[
{
"name": "k",
"type": "Float32"
},
{
"name": "count()",
"type": "UInt64"
}
],
"data":
[
[1.23, "1"]
],
"totals": [1.23, "1"],
"extremes":
{
"min": [1.23, "1"],
"max": [1.23, "1"]
},
"rows": 1
}
2010-01-01 1
2010-01-01 1
2010-01-01 1
2010-01-01 1
{
"meta":
[
{
"name": "k",
"type": "DateTime('UTC')"
},
{
"name": "count()",
"type": "UInt64"
}
],
"data":
[
{
"k": "2010-01-01 01:02:03",
"count()": "1"
}
],
"totals":
{
"k": "2010-01-01 01:02:03",
"count()": "1"
},
"extremes":
{
"min":
{
"k": "2010-01-01 01:02:03",
"count()": "1"
},
"max":
{
"k": "2010-01-01 01:02:03",
"count()": "1"
}
},
"rows": 1
}
{
"meta":
[
{
"name": "k",
"type": "Float64"
},
{
"name": "count()",
"type": "UInt64"
}
],
"data":
[
[1.1, "1"]
],
"totals": [1.1, "1"],
"extremes":
{
"min": [1.1, "1"],
"max": [1.1, "1"]
},
"rows": 1
}