2018-10-05 22:02:31 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"Name":"Float",
|
|
|
|
"name":"float",
|
|
|
|
"Type":"float64",
|
2020-06-11 23:01:47 +00:00
|
|
|
"Aggs": [
|
|
|
|
{
|
|
|
|
"Name":"Count",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc++"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Sum",
|
|
|
|
"AccType":"float64",
|
|
|
|
"AccTypeName":"Float",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc += a.Values[rowIdx]"
|
|
|
|
}
|
|
|
|
]
|
2018-10-05 22:02:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Integer",
|
|
|
|
"name":"integer",
|
|
|
|
"Type":"int64",
|
2020-06-11 23:01:47 +00:00
|
|
|
"Aggs": [
|
|
|
|
{
|
|
|
|
"Name":"Count",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc++"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Sum",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc += a.Values[rowIdx]"
|
|
|
|
}
|
|
|
|
]
|
2018-10-05 22:02:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Unsigned",
|
|
|
|
"name":"unsigned",
|
|
|
|
"Type":"uint64",
|
2020-06-11 23:01:47 +00:00
|
|
|
"Aggs": [
|
|
|
|
{
|
|
|
|
"Name":"Count",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc++"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Sum",
|
|
|
|
"AccType":"uint64",
|
|
|
|
"AccTypeName":"Unsigned",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc += a.Values[rowIdx]"
|
|
|
|
}
|
|
|
|
]
|
2018-10-05 22:02:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"String",
|
|
|
|
"name":"string",
|
|
|
|
"Type":"string",
|
2020-06-11 23:01:47 +00:00
|
|
|
"Aggs": [
|
|
|
|
{
|
|
|
|
"Name":"Count",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc++"
|
|
|
|
}
|
|
|
|
]
|
2018-10-05 22:02:31 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Name":"Boolean",
|
|
|
|
"name":"boolean",
|
|
|
|
"Type":"bool",
|
2020-06-11 23:01:47 +00:00
|
|
|
"Aggs": [
|
|
|
|
{
|
|
|
|
"Name":"Count",
|
|
|
|
"AccType":"int64",
|
|
|
|
"AccTypeName":"Integer",
|
|
|
|
"AccInit":"0",
|
|
|
|
"Accumulate":"acc++"
|
|
|
|
}
|
|
|
|
]
|
2018-10-05 22:02:31 +00:00
|
|
|
}
|
|
|
|
]
|